Steve Piercy - Web Site Builder Possible to determine field -name in -validate expression?
Nov 12, 2010; 05:33
Steve Piercy - Web Site Builder
Possible to determine field -name in -validate expression?
I have many fields that call the same compound expression using -validate=$common_expression. I know I can get the value of the field using [params]. Is it possible to determine the -name of the field that calls the validation within the compound expression?
I want to avoid creating a bajillion validation expressions that are copies of one another, but with different names and an explicitly named field therein. The form performs a dependency validation, where either a completely full or empty row of data is required. And to make it more interesting, it is unknown how many rows of data there will be. A demo of its current state is here, under Goals Scored and Misconduct Information.
http://sfsra.stevepiercy.com/forms/game_report/
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Nov 12
Steve Piercy - Web Site Builder Re: Possible to determine field -name in -validate expression?
Nov 12, 2010; 10:41
Steve Piercy - Web Site Builder
Re: Possible to determine field -name in -validate expression?
Nov 12
Johan Solve Re: Possible to determine field -name in -validate expression?
Nov 12, 2010; 16:02
Johan Solve
Re: Possible to determine field -name in -validate expression?
Nov 12
Johan Solve Re: Possible to determine field -name in -validate expression?
Nov 12, 2010; 22:34
Johan Solve
Re: Possible to determine field -name in -validate expression?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!