Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setDependentFields() question

    hi,

    what is the exact usage of "dependentFields".

    I have added in the following example, the attribute "dependentFields".

    http://www.smartclient.com/smartgwte...validation_dmi

    Code:
               <validators>
                    <validator type="serverCustom">
                    	<dependentFields>
                    		<value>instructions</value>
                    	</dependentFields>
                        <serverObject lookupStyle="new" className="com.smartgwt.sample.showcase.server.ValidatorDMI"/>
                        <errorMessage>Only $available in stock</errorMessage>
                    </validator>
                </validators>
    I expect that there is a validation of the field "quantity" on change of "instructions". But nothing happens when I change the field "instructions".

    Did I misunderstood something?

    best regards,
    timo


    somorphic SmartClient/SmartGWT Framework (v8.3d_2012-11-08/EVAL Deployment 2012-11-08)
    Last edited by tmoes; 14 Nov 2012, 08:40.
Working...
X