The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Tracking subdomains w/ form tools - 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: Tracking subdomains w/ form tools (/showthread.php?tid=1131) |
Tracking subdomains w/ form tools - captain_squash - Mar 20th, 2011 Hello, I would like to use Form Tools on my subdomain page, my question is: If someone registers a subdomain in Form Tools can I make it so that name can not be registered with again? Ie: If they choose john.subdomain.com the word john couldn't be used again and a message would come up letting the person know they need to choose another name? The form field would look like: ________________ .yourname.com I just want to avoid people trying to sign up with a name that is already taken. Thanks RE: Tracking subdomains w/ form tools - Ben - Mar 20th, 2011 Hi Captain, Sure, but in order to do so, you'll need to use the API. That lets you use the ft_api_check_submission_is_unique() function, which can tell you whether or not a value has already been entered in one of your fields. Give this tutorial a read over for more information: http://docs.formtools.org/tutorials/checking_for_uniqueness/ Good luck! - Ben RE: Tracking subdomains w/ form tools - captain_squash - Mar 21st, 2011 Thank you Dan, that's what I was looking for |