The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
More multi-page queries! - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: More multi-page queries! (/showthread.php?tid=387)



More multi-page queries! - martin_undefined - Dec 6th, 2009

I have searched the forums for both of these points, so hopefully I'm not repeating anything that has been asked or answered previously.

1) When adding a multi-page form am I correct in assuming that the line

PHP Code:
$fields ft_api_init_form_page(X); 

is only changed on the first page of the form and that the other pages, including 'thank-you' retain the ft_api_init_form_page(x, "initialize") line?

I have read the tutorial, but it isn't clear to me!

2) Form field. I fell into a bit of a trap editing the form and I was wondering if there is a way of avoiding this.

I skipped the auto-fill field name stage on setup but when I edited the form, the system didn't like some of the form field names I'd chosen because they weren't alpha-numeric etc. I then had to edit the form to match the Form Tools field names. My question is, other than being more careful with field names, is there a way of avoiding this?

Thanks.


RE: More multi-page queries! - Ben - Dec 8th, 2009

Hey Martin,

#1 - yup! That's exactly right. :-)

#2 -
Quote:My question is, other than being more careful with field names, is there a way of avoiding this?

I'm afraid not. But Form Tools doesn't require anything special - all form field names should be alphanumeric in order to be understood by PHP properly. You should do this for all forms, even forms that are being processed by other languages.

Hope this helps...!

- Ben


RE: More multi-page queries! - martin_undefined - Dec 9th, 2009

(Dec 8th, 2009, 9:51 PM)Ben Wrote: Hey Martin,

#1 - yup! That's exactly right. :-)

#2 -
Quote:My question is, other than being more careful with field names, is there a way of avoiding this?

I'm afraid not. But Form Tools doesn't require anything special - all form field names should be alphanumeric in order to be understood by PHP properly. You should do this for all forms, even forms that are being processed by other languages.

Hope this helps...!

- Ben

Thanks - I'll bear that in mind, some of the questions on the form relate to chemicals hence the odd combination of characters.