cancel
Showing results for 
Search instead for 
Did you mean: 

Validation to allow atleast one mandatory field

Former Member
0 Kudos

Hi,

I have created a view with 40 input fields which also includes 9 tables.I need to perform a validation that in this view atleast one field must be filled(ie,all fields cannot be left empty,atleast one or more fields must be filled).What can be the possible logics to implement this validation?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Which field u want mandatory u can do following steps for that.

1)Go to that label of inputfield>Rightclick>properties-->Lablefor=id of inputfield

2)Go to inputfield properties-->state value change from "normal" to "required"

Note:--> 3)After solving of ur problem make the question as solved.

Regards

Hazrath.G

Former Member
0 Kudos

No..There are no specific mandatory fields.Im aware how to code for a specific field,the requirement is any 1(or more) field should be filled atleast.This could be any field in the view.If no field is filled then i need to throw an error message.I just need some logic to check how i can track if even one of the 40 fields is fillled.