Welcome Guest, Not a member yet? Register   Sign In
Validating groups of inputs
#1

[eluser]vertmonkee[/eluser]
I have a form where a user is entering a location. The name and description are required so I have set my rules like this

Code:
$rules['locationName']        = "required";
$rules['locationDescription'] = "required";

They can then choose a coordinate system from three choices.

1. Decimal latitude / longitude
2. Grid reference
3. Latitude / longitude

How would I go about setting a rule for this?

Thanks for any help


Messages In This Thread
Validating groups of inputs - by El Forum - 07-27-2010, 07:43 AM
Validating groups of inputs - by El Forum - 07-27-2010, 02:24 PM
Validating groups of inputs - by El Forum - 07-28-2010, 07:44 AM
Validating groups of inputs - by El Forum - 07-28-2010, 10:13 AM
Validating groups of inputs - by El Forum - 07-29-2010, 02:41 AM
Validating groups of inputs - by El Forum - 07-29-2010, 05:12 AM
Validating groups of inputs - by El Forum - 07-29-2010, 05:40 AM
Validating groups of inputs - by El Forum - 07-29-2010, 06:16 AM
Validating groups of inputs - by El Forum - 07-29-2010, 06:46 AM
Validating groups of inputs - by El Forum - 07-29-2010, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB