Jump to content

How do I require a field be completed in a form?


dspires
 Share

This topic is 7402 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Two ways:

1. FMP validation on the field for 'not empty' condition. (define,options, validation) This way is easiest but requires web transactions to and from server for validation - potential bandwidth issue.

2. Javascript validation in the web page. Performed on user machine and transaction only occurs when form has been validated.

Link to comment
Share on other sites

There are many ways. You can check fields for not empty with JavaScript.

Or you can make one calculation field which will check all fields to be filled like IF IsEmpty(field) or IF IsEmpty(field2) and then after submit you will check just this one field for OK or NOTOK

Ups, dspires was faster.

[ July 10, 2001: Message edited by: Anatoli ]

Link to comment
Share on other sites

  • Newbies

I have a small demographics (name, address, tel, e-mail, etc.) database on my website that visitors use to obtain various free materials. Right now I periodically check the database for new entries and e-mail the materials requested. I would much rather allow them to download these items from my site but not until they provide all the information in the form. Can someone tell me the procedure for requiring a field be completed prior to accepting a form? Any advice or direction to a source of info would be greatly appreciated.

Thanks, Steve

Link to comment
Share on other sites

This topic is 7402 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.