Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

required=true dynamically set

$
0
0
<smartgwtVersion>3.1-p20140602</smartgwtVersion>
FF 24


Hi,

is it possible to set the required="true" dyniamically on the client and server side?

For example I have two fields in my *.ds.xml:

<field name="A" type="text" />

<field name="B" type="text" length="50" required="???"/>

If the field "A" has a value then field "B" shoud be requred=true on the client and server otherwise required=false?

I looked for some examples with requiredIfvalidator but there the functionality seems to focus only the client side.

Thanks for any help in advance,
zapryano

Viewing all articles
Browse latest Browse all 4756

Trending Articles