FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tracking subdomains w/ form tools
#1
Question 
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
Reply
#2
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/chec...niqueness/

Good luck! Smile

- Ben

Reply
#3
Thank you Dan, that's what I was looking for Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)