[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: Validating a field based on another field...


Mark Stosberg wrote:
<snip>
I think you want to use the "dependency" feature, which can make task_names required when project_names = 'Help Desk'.

See the docs for examples and details.

I always forget to look at the module docs that the plugin for this depends on:

dependencies => {
    "project_names" => {
        "ICGS LIMS Help Desk Tickets" => { task_names => qr/^\d{9}$/, },
     },
},


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.