0

validate before more than one function

asked 2014-01-17 05:18:10 +0800

Evelynba gravatar image Evelynba
0 1

updated 2014-01-17 05:18:52 +0800

Hi, There are some button ,click button1 will call functionOne; click button2 will call functionTwo; I'm trying to validate some attribute before execute functionOne or functionTwo.

<div form="@id('fx') @load(vm.test) @save(vm.test, before='functionOne') @validator(vm.DateValidator)">

if I use before='functionOne,functionTwo'´╝îit doesn't work. Some can help me?

delete flag offensive retag edit

Comments

what's needed to be validate and on what? Can you show that code to? Because there might be an other way.

chillworld ( 2014-01-17 06:24:32 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-01-17 05:18:10 +0800

Seen: 8 times

Last updated: Jan 17 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More