Jump to content
  • 0

Check If Data Exists In Table On Submit Form


crazedwombat

Question

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

  • 0

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.

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...