Oops, my mistake. It works just fine. Issue resolved.
Thank you, guys!!!
On Sep 18, 2013 10:23 AM, "Oleg Konovalov" wrote:
> I still get the same exception from the same line if I do that.
> Any other ideas?
> On Sep 17, 2013 10:50 PM, "Justin Mclean"
> wrote:
>
>> Hi,
>>
>> > validator.source =
I still get the same exception from the same line if I do that.
Any other ideas?
On Sep 17, 2013 10:50 PM, "Justin Mclean" wrote:
> Hi,
>
> > validator.source = "{field}"; <<< Error: source attribute "{field}"
> can
> > not be of Type String [from mx.validators::Validator/set]
>
> validator.s
Hi,
> validator.source = "{field}"; <<< Error: source attribute "{field}" can
> not be of Type String [from mx.validators::Validator/set]
validator.source = field;?
Justin
On 9/18/2013 9:22 AM, Oleg Konovalov wrote:
validator.source = "{field}"; <<< Error: source attribute "{field}" can
shouldn't that just be
validator.source=field;
OK, I tried the following:
private function validateRequiredField(field:TextInput):void {
var validator:StringValidator = new StringValidator();
validator.source = "{field}"; <<< Error: source attribute "{field}" can
not be of Type String [from mx.validators::Validator/set]
validator.property
Don't know if it could help, but you can check this:
http://www.graniteds.org/public/docs/3.0.0/docs/reference/flex/en-US/html/graniteds.validation.html
F.
2013/9/17 Oleg Konovalov
> On Sep 16, 2013 7:36 PM, "Oleg Konovalov" wrote:
>
> > Hi,
> >
> > I need to validate dynamic form data in Fle
On Sep 16, 2013 7:36 PM, "Oleg Konovalov" wrote:
> Hi,
>
> I need to validate dynamic form data in Flex 4.5 ADG, meaning that I don't
> know column names,
> order, but if the attribute is Required, than I have to make sure user
> filled it in.
> From all examples I have seen, validations is done