crazedwombat Posted December 7, 2015 Report Share Posted December 7, 2015 Hi, I have a basic submission form with an email address field. My goal is when the email field is filled out, it will check whether it exists in the table. If it exists then it will not allow the submission to happen because they already have an account. It can be either on the click of submission or onchange in the email field, both ways work for this situation. Thanks. Quote Link to comment Share on other sites More sharing options...
0 crazedwombat Posted December 14, 2015 Author Report Share Posted December 14, 2015 For those interested in how I worked around this. With help, I created a cascading text field hidden from view that would populate from the table in a visible search field. If the data existed I would alert onsubmit. Otherwise, it didn't exist and move forward as new user. Quote Link to comment Share on other sites More sharing options...
0 Walter Posted December 7, 2015 Report Share Posted December 7, 2015 I checked the field as Unique in the Table Design, when I needed to prevent adding the same data more than once. Then the system does not allow to create the recored with the same value. It's a column of checkboxes that is named "Unique" in the Table Design screen. Quote Link to comment Share on other sites More sharing options...
0 crazedwombat Posted December 7, 2015 Author Report Share Posted December 7, 2015 That would work normally, however in my case, the table itself is allowed multiple email addresses, but for that one particular form I want them to have a unique address. Once the form is submitted, I create an account for them where they can fill out another form that writes to the same table. However, I dont want multiple accounts. Basically, its a 'is username available' check. Quote Link to comment Share on other sites More sharing options...
0 NailDyanC Posted March 24 Report Share Posted March 24 Hello, just want to add in the previous comments above, here's a sample article on how to check duplicate values in the table and present a warning message: Quote Link to comment Share on other sites More sharing options...
0 cheonsa Posted June 21 Report Share Posted June 21 Hi! Just to update you, you can check if the email is already existing using a Formula, then, hide the Submit button using a script. For more details, you can refer here: Quote Link to comment Share on other sites More sharing options...
Question
crazedwombat
Hi, I have a basic submission form with an email address field.
My goal is when the email field is filled out, it will check whether it exists in the table.
If it exists then it will not allow the submission to happen because they already have an account.
It can be either on the click of submission or onchange in the email field, both ways work for this situation. Thanks.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.