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

Mandatory field in table control

Hi

I am entering some values in table control in my WD4A application and saving it.

I want all the column to be mandatory fields. How we can do it.

I dont want to check each and every column for its emptyness.

Regards

Vishal kapoor

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 02:53 AM

    Hello Vishal,

    It is quite simple! You can change the property 'state' of your Input field (cell editor in the column) to 'required' (instead of noraml item).

    However, the WD framework does not check this automatically. You need to call the cl_wd_dynamic_tool=>check_mandatory_attributes method. You can refer to note 948753 for further information.

    Regards,

    Neha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 02:21 PM

    I'm afraid there is no other option.

    the option Mandatory isn't available, so you have to build the checks yourself.

    Regards,

    Jos

    Add a comment
    10|10000 characters needed characters exceeded

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.