The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
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, Thanks - I'll bear that in mind, some of the questions on the form relate to chemicals hence the odd combination of characters. |