on 07-08-2011 3:34 PM
Hi Experts,
I have a field called Selling Space (Type: Measurment)
Like you all know once this is set, user can enter a numeric value and can select the appropriate Measurment from the List Which is tied to the same field.
Now, i need to restrict the user to select Either ''Sq feet'' or ''sq meters'' .
If he select any other type from the drop down then the validation should fail!!!
Is it possible to validate a measurment field??
I thought of using the Has any values but not sure how to include the measurments in it!!!!!!
I thought of placing the ''Sq feet'' and ''sq meters'' in a lookup table , But then it will be 2 fields..
Selling space
Measurment look up field (from were user select either of the 2 values)
What would you suggest??
Kind Regards
John
Hi John,
As you mentioned you have created Selling Space field as of type Measurement (And I assumne Dimention must be Area)
So try below validation expression & see if it works for your requirement:-
( ( RIGHT(Selling Space,3) = ft2) OR ( RIGHT(Selling Space,2) = m2) ) AND
( RIGHT(Selling Space,3) <> mm2) AND
( RIGHT(Selling Space,3) <> cm2) AND
( RIGHT(Selling Space,3) <> km2)
Thanks & Regards,
Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.