Jump to content

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

Recommended Posts

  • Newbies
Posted

I just did a registration for two identical summer conferences. The FIRST item on the web page was to select which month with a radio button

<tr>

<td><input type=radio name=which value="June">June </td>

<td><input type=radio name=which value="July">July</td>

<td><input type=radio name=which value="either">No Preference</td>

</tr>

This worked fine and entered the data in the Filemaker. If I was actually doing it IN Filemaker and left off this field ("which") then Filemaker gave me an error message. From the web, Filemaker was happy NOT to have this required value field filled in. All the other required values on the form (Firstname, lastname, etc.) worked as expected on the web-- if it wasn't there the user got an error message.

This caused MAJOR headaches tracking people down who didn't select the month.

Now for housing I have a database where SEX is a required field. Using <select> there are two choices (obviously) MALE and FEMALE (although I did consider OTHER where selecting it would go to a page saying "Sorry, Aliens not admitted")

<SELECT NAME=sex>

<OPTION>

<OPTION>Male

<OPTION>Female

</SELECT>

Like above, if I'm using Filemaker directly, the field is required. If I'm entering on the web, Filemaker allows the field to remain empty.

How does one MAKE required fields required?:?

Posted

I think it maybe that the Form is not submitting the empty "which" field. Hence, FM is not objecting.

Try adding this line:

<input type="hidden" name="which" value="">

Good Luck.

Garry

p.s. You caould also use some Javascript to test if the field has a value.

This topic is 7930 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
×
×
  • Create New...

Important Information

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