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
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
multiple domains - multiple pages - 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: multiple domains - multiple pages (/showthread.php?tid=1425)



multiple domains - multiple pages - braven - Jun 28th, 2011

Still knocked out by this incredible script!
2 questions I didn't see on the forums, perhaps I missed them.

1. I have Form Tools installed on one domain. Can I create & use a form on a second domain or will Form Tools need to be installed on both domains?

2.I have a form created which will be used on multiple pages of that domain. Am I right in understanding that I use one form in those two instances or does each instance of the form need to be created separately?

Thank you so much & I apologize if this has been asked.


RE: multiple domains - multiple pages - Ben - Jul 1st, 2011

Hi Braven,

Quote:1. I have Form Tools installed on one domain. Can I create & use a form on a second domain or will Form Tools need to be installed on both domains?

Good question! If all your forms are POST forms, then you can just have a single installation for all of them. The one limitation is that you can't add server-side validation to your POST forms for any form that isn't on the same domain. But for API forms, they need to be on the same domain. The reason for this is that they need to reference the API, which can only be done if they're on the same server.

Quote:2.I have a form created which will be used on multiple pages of that domain. Am I right in understanding that I use one form in those two instances or does each instance of the form need to be created separately?

Exactly! Form Tools doesn't care where the information is submitted from, so you can have multiple identical forms dotted all over your site, all submitting to the same form in Form Tools. It's a little weird because then the "form URL" setting for the form is no longer accurate, but technically there's no problem with it at all.

Hope this helps!

- Ben



RE: multiple domains - multiple pages - braven - Jul 1st, 2011

Thank you so much!

Right now I'm experimenting with reCaptcha... hoping that the Global Config changes don't interrupt my forms that don't have any added captcha code on them!
... Then I guess I have to change all my forms to .php from .htm... but it will be worth it if I can stop the spam!

Loving the script, just amazing the obvious work care that has gone into every aspect of it!


RE: multiple domains - multiple pages - Ben - Jul 8th, 2011

Thanks. Smile I just wish I had more time to help in the forums as well... *sigh!*

- Ben


RE: multiple domains - multiple pages - braven - Jul 8th, 2011

Guess you are only 'human' and therefore can't be 12 places at once..

This script has solved all our forms problems and the results are coming through perfectly.

Thank you, again.


RE: multiple domains - multiple pages - braven - Jul 8th, 2011

Guess you are only 'human' and therefore can't be 12 places at once..

This script has solved all our forms problems and the results are coming through perfectly.

Thank you, again.