You cannot post messages because only members can post, and you are not currently a member.
Description:
A discussion group for the ValidateThis ColdFusion Validation Framework.
|
|
|
Targeting Fields with Period in Name
|
| |
I'm using John Whish's ColdBox interceptor adaptation of Brian Kotek's fine FormUtilities and VT works fine for the server-side validation but it failing on the client-side. I'm guessing this is due to the fact that VT targets the input name attribute, as in name="user.username" and jQuery needs the period to be... more »
|
|
AddRule Rangelength
|
| |
Hi all,
I'm trying to add and rule to validate dynamic fields and have only
been able to get it to work for valType="required" or any other rule
that doesn't require parameters.
Does anyone have some sample code for validating with parameters?
Thanks,
Han
|
|
Custom Rule Path
|
| |
Hi group, I'm trying to setup a new ColdBox Module and as part of this I want VT to handle the validation. VT is passed through as part of the parent project calling the module but ideally I want the module's rules in isolation from the parent. We're only talking one rule file at the moment so the thought I had was that I could specify a path to my rule for this single time.... more »
|
|
Condition Issue with Length
|
| |
I am having trouble with length and getting validation to trip I am
using a conditions
<conditions>
<condition name="WeRequireCarrier"
serverTest="val(getcarrier_fla t()) EQ 0 AND len(getcarid()) neq 0"
clientTest="$("[name='car rier_flat']").getValue() == 0;
&& $("[name='carid']"). getValue().length != 0;" />... more »
|
|
More Than One Dependent
|
| |
I have a question/problem
I am using a checkbox value="yes" i couldn't get conditions to work
correctly so i went with this route.
if <input type="checkbox" id="removePay" name="removePay" value="Yes">
or
<input type="checkbox" id="changeRate" name="changeRate" value="Yes">
Is checked... more »
|
|
Locale Date Validation
|
| |
How are people handling locale specific date validation on both the client and server-side? I think I'm right in saying that the "defaultLocale" config setting only affects multiple languages support not regional date formats. So if you have setLocale("en_GB") in your Application.cfc how can you get... more »
|
|
Using Property Annotations
|
| |
Hi, I'm looking for some guidance on using Property Annotations rather than the traditional XML rules files. Can't seem to find any doc's? Where can I find some words to get me going? Richard
|
|
Potential Bug: getIsSuccess() and addResult()
|
| |
Hello Guys, I have a process in this application that compiles a result object from multiple other results using addResult(). Pseudo code looks something like this: MasterResult = ValidateThis.newResult(); for object in array { thisResult = ValidateThis.Validate(object); MasterResult.addResult(thisRes ult);... more »
|
|
Validating collection of objects.
|
| |
Hello Guys, I have a collection of objects which I want to validate. This collection is contained within a container object. Container.cfc Object.cfc Object.cfc Object.cfc Object.cfc Object.cfc Is there any way to define a rule on the Container object that tells VT to validate all of the children within it? Returning the set of errors from... more »
|
|
|