EasyUI Forum
September 13, 2025, 02:17:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: form validation with parameters  (Read 5701 times)
leela
Newbie
*
Posts: 29


View Profile Email
« on: September 18, 2014, 01:30:25 PM »

Hi,

 Is it possible to trigger only a particular validation rule defined on a validatebox?
 I would defined a custom Validate Rule on some elements of the form.
 I need to trigger different validation rules for different button clicks.
 Right now when you say form.form('validate'), it validates all the validation rules defined on all the form elements.
 I need something like form.form('validate' sourceButton)
 and make this sourceButton available in my Custom Validation Rule function, based on the source button clicked I would decide if i should run that validation or not.
 Is there a way to achieve this?

Thanks,
Leela.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!