Username: Password:

Author Topic: does anyone know how to make a field mandatory in php??  (Read 499 times)

Transcend

  • Guest
does anyone know how to make a field mandatory in php??
« on: January 01, 2008, 05:02:06 PM »
i cant figure out the code for the life in me.

its just for one checkbox

i would be massively appreciative if someone could help me here

Oli

  • Lightweight
  • ***
  • Posts: 914
does anyone know how to make a field mandatory in php??
« Reply #1 on: January 01, 2008, 05:41:16 PM »
How do you mean mandatory?

Like if you've got a form, and that checkbox has to be ticked to allow the form to be submitted?
Nailbomb, VHII, Warpig 7, MQ, Black Dog, 10th Anniversary

Transcend

  • Guest
does anyone know how to make a field mandatory in php??
« Reply #2 on: January 01, 2008, 09:33:01 PM »
Quote from: Oli
How do you mean mandatory?

Like if you've got a form, and that checkbox has to be ticked to allow the form to be submitted?


yes thats what i meant.

It doesnt matter anymore anyway i have figured it out by looking at code earlier in the page for other items that had to be checked.

Thankyou anyway