Form Validation #2

User 2693187 Photo


Registered User
167 posts

HI guys,

Not sure if this is possible.

Is there anyways with this program that I can do form validation.

There would be a unique code field.
Say i have 1000 unique codes ..
I'd need to somehow validate the code and it would bounce them out if they don't correspond.

Any ideas?
User 10077 Photo


Senior Advisor
1,096 posts

Have one field on the form be the code. When the form is submitted, the form data is saved in a session. You can set the form to go to another page after it is submitted. On that page, you can retrieve the field value from the data and use PHP to compare the value to your list. If it is not in the list, you can kick them out.

I don't know your exact needs, but since it sounds like you are wanting to control access to a web site, you might want to consider Website Access Manager. It is made for just that type of thing.
http://www.coffeecup.com/website-access-manager/
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

I'm with you Brian. Seems like they need something beyond JS validation so a custom php script maybe needed. I'm not sure what bounced out is referring to.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2693187 Photo


Registered User
167 posts

Hey guys,

So this is what I mean - we were managing forms via Zoho, that have validation logic of coupon codes..

But the problem in forms via Zoho aren't responsive.

User 187934 Photo


Senior Advisor
20,271 posts
Online Now

You can use the form builder to build the responsive form then write your own php script to handle the processing.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.