Skip to Content
author's profile photo Former Member
Former Member

Validation to allow atleast one mandatory field

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2007 at 11:08 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.