Hello.

I have 
<s:form action="customer" method='post' theme="xhtml"  >
 <s:textfield name="customer.cus_email"  size="20" label="E-mail" /> 
 <s:submit value="OK." name="VIEW"    theme="simple">   </s:submit> 
  <s:submit value="Delete" name="DEL" theme="simple"></s:submit>
</s:form>
and 

CustomerCRUD-validation:
<validators>
  <field name="customer.cus_email">
    <field-validator type="email">
      <message>Error E-mail</message>
    </field-validator>
  </field>
</validators>



How to DISABLE server side validation when i click on "DELETE" button and
have empty email field value ?
-- 
View this message in context: 
http://www.nabble.com/Disable-validation-when-%22delete%22-button-is-pressed-tf4640820.html#a13254463
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to