You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by newton rutgers <ne...@hotmail.com> on 2003/11/13 22:18:32 UTC

problem using requiredif

Can anyone tell me what's going on in here.. i want the product field has to 
have some value other then "Please select one". and it should be required 
field.

Thanks,
Newt

<field  property="product" depends="requiredif">
  			<arg0 key="firstForm.product.displayname"/>
  				<var> <var-name>field[0]</var-name>
  				<var-value>product</var-value> </var>
  				<var> <var-name>fieldTest[0]</var-name>
            	                                                
<var-value>EQUAL</var-value>
   				</var>
  				<var>
  				<var-name>fieldValue[0]</var-name>
  				<var-value>Please select one</var-value>
  				</var>
		             </field>

_________________________________________________________________
Send a QuickGreet with MSN Messenger 
http://www.msnmessenger-download.com/tracking/cdp_games


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org