Flex: Validating a checkbox using StringValidator
Thought this might help someone. I had a small task to add validation for a “terms and conditions” checkbox for a work project today and after researching a couple of ways to do that (easily), I found this clever trick.
Use the built-in Flex mx:StringValidator!
By pointing to the selected property of the checkbox component, then validating the length of its string value you can effectively validate a checkbox field without having to extend Validator and create your own customized component.
1 2 3 4 5 6 7 8 | <mx:StringValidator id="validatorTermsAndConditions" source="{chkTermsAndConditions}" required="true" property="selected" maxLength="4" requiredFieldError="You must agree to the Terms and Conditions." tooLongError="You must agree to the Terms and Conditions."/> |
Nifty!
Categories: Adobe Flex
I’ve read a few just right stuff here. Certainly value bookmarking for revisiting.
I wonder how much attempt you place to create one of these fantastic
informative website.
Amazing blog! Do you have any helpful hints for aspiring writers?
I’m planning to start my own site soon but I’m a little lost
on everything. Would you propose starting
with a free platform like WordPress or go for a paid option?
There are so many choices out there that I’m totally confused ..
Any suggestions? Appreciate it!
Also, you should ask them to bring a copy of their license
or certification along. The right company for these services has mobile
vehicles that are equipped with all tools and machinery required to solve your unique situation.
Moreover, he deaigns and creates a unique master key
for establishments or ccompanies like banks, jewelry shop and malls for
safety from unaujthorized personnel.
May I just say what a comfort to uncover a person that truly knows what they are discussing onn
the web. You actually realize how tto brinjg a problem to
light and make it important. More people should read this
and understand this side of your story. I was surprised
you are not more popular because you most certainly possess the gift.
Leonel Messi is naturally another essential element for
the record breaking success of the last couple of seasons. last hitting with the champion you want to improve with.
The middle lane’s role is to provide high damage in the form of ability power
or AP.
Closing the last half mile to Bay Shore, the “Lauren Kristy” swallowed gulps
of the now oily-black water with its bow, seeming
caught in a sea-and-sky void presently pierced by the pinpoints of light defining the approaching coast ahead and the 7.
For holes, you cover the area with the wallboard tape and then spackle to
make the tape stick. Most of the email questions I sent to online battery shops netted me sales pitch calls and emails.
Many times you might find great articles online to
get more information. It’s where your intention is good
but you actually try too hard to keep your wife happy. In our article Fundraising campaigns for nonprofits,
we discuss many methods nonprofits can incorporate this in their fundraising and marketing campaigns.
Those engaged in social media marketing campaigns will
be able to monitor channels for any mention of their company, competitors, industry,
clients and potential clients. It’s about being
a great customer service company that delivers parcels, as opposed to
a parcel company that does customer service when it *has* to.
Fb also has the tools that you need to use to effectively market your services in addition to your
website. I contact each and every person who contacted me for a free consultation. While planning a holiday, choosing the right kind
of accommodation is of utmost importance.
If you choose to search the internet for solid information that tells how to use social media then you spend time.
Examining changes on the sentiment around your brand caused by Social Media can also
be a helpful measure of the value of social media.
Yes, fashion trends are referential and recurring, but at the same time new ones
pop up, allowing us to visually reflect the world around
us. Dress up in peacock blue, soft pinks and bright orange sexiest colours of
this season. Fortunately, in this day and age of the Internet and the
increasingly diverse global fashion market, you certainly don’t need to go all the way to
Japan to get the very latest in Japanese fashion.
Me disculpo ρor mi mala escritura, creo ԛue es una pieza informativa
de su escritura. Bueno, үo habitar sufriendo al tner una gran cantidad
Ԁe dificultades en еsta condición, falto incautacióneste blog mе ayuda
Thanks for another wonderful post. The place else may just anybody get
that kind of info in such an ideal approach of writing?
I’ve a presentation subsequent week, and I am at the look for such information.
The trikes are colourful, sturdy and built to last, with a variety of models, frames, wheels, handlebars, seats and accessories.
The Franco-German model uses air ambulance as a
support for ground-based Medical Teams.
Wow, great blog article.Really looking forward to read more. Want more.
interesting page I noticed a website today and found a really worthwhile point of view
Say, you got a nice article post.Much thanks again. Great.
What as Going down i am new to this, I stumbled upon this I ave found It absolutely useful and it has aided me out loads. I am hoping to contribute & help other customers like its helped me. Good job.
Im thankful for the blog article.Really looking forward to read more. Keep writing.
I truly appreciate this article.Really looking forward to read more. Really Cool.
Of course, what a fantastic blog and illuminating posts, I definitely will bookmark your blog.Have an awsome day!