Re: [Cppcms-users] Ajax based form validation
Brought to you by:
artyom-beilis
From: Christian G. <chr...@gm...> - 2012-06-20 14:36:00
|
Thanks -- Christian Gmeiner, MSc 2012/6/16 <ele...@ex...>: >> Hi all, >> >> currently I am looking into a way to integrate client side form validation >> into >> a cppcms application. >> I have looked around and found this nice jquery based one: >> jQuery-Validation-Engine >> https://github.com/posabsolute/jQuery-Validation-Engine >> >> The nice thing is that it provides a nice Ajax api - >> https://github.com/posabsolute/jQuery-Validation-Engine#ajax-protocol >> >> Is there some way to reuse the defined validations (e.g. struct >> login_form : public cppcms::form) with this api? > > You can do validation of each widget individually: > > http://cppcms.com/cppcms_ref/latest/classcppcms_1_1base__form.html#af7d0a7b4c760b43ea3161181906ee4d0 > > Look at the JSON-RPC guide on the cppcms wiki. > > So I guess you can. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |