The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
3rd party Submission - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: 3rd party Submission (/showthread.php?tid=179)



3rd party Submission - novatron6 - Jun 5th, 2009

Hey All,

Wondering if any one can help me. I am trying to use the API and the registration form demo to do the following:

- First Page: Form goes to Formtools

- Second Page: Form pulls info from the first page but submits the form using a 3rd party system (Hushforms, for C.C. Info.)

- Thank You page, that finalizes the Formtools form (unless that needs to happen earlier..)

I can get the info from the first page onto the second page but then when I try to submit the second page I get all the fields in the url. Any help would be appreciated, thanks!

Doug


RE: 3rd party Submission - novatron6 - Jun 8th, 2009

Anyone have any thoughts? Do I need to use $_Post? Any help is appreciated, thanks!


RE: 3rd party Submission - Ben - Jun 9th, 2009

Hi Doug,

Sure, this is very do-able!

Just a bit of confirmation first: so right now, you have the first part sorted out? page 1 submits the data to Form Tools (unfinalized) then does a redirect to page 2?

So how does step 2 work? Do you just post the contents to Hushforms or load the values into another form or something...? Not quite sure about how this step works for you. Does the form submit to a different location?

If I understand it right, you have two options. One is to do an Ajax call on the form submit that calls another page on your server (which you'll need to write) which posts the data and finalizes the Form Tools submission. The other option is that often, offsite services like form processors that will allow for callbacks - i.e. a page on your site that gets called when the form is processed on their end. You'll need to pass back the unique submission ID to the callback page, where you'd finalize the submission using the API.

Sorry for the rather general remarks - but I hope it gives you some idea of how to proceed!

- Ben


RE: 3rd party Submission - novatron6 - Jun 9th, 2009

Hey Ben,

Thanks for the reply, I actually got it to work, did some more investigating and used the @field property to get the info on the 2nd page. Thanks for your great software! Is coming in handy!

Doug


RE: 3rd party Submission - Ben - Jun 10th, 2009

I'm very glad! :-)

All the best -

Ben