Create an AngularJS directive no allow [login to view URL] to work with ng-require
$15-25 USD / hour
I'm using [url removed, login to view] for validation with a very simple directive (attached).
This works fine but I have one problem , which is that it ignores ng-require. It works with "require" instead but require is impossible to include dynamically (it seems). I'm using iteration to build forms from db table descriptors, so whether a field is required is provided by an ajax call to get the field descriptions – thus I need the "required" attribute to be set dynamically during iteration.
In other words if the ng-required attribute returns true, then the required attribute must be set (and picked up by parsley for validation), otherwise not.
Project ID: #7345648
About the project
Awarded to:
Hello there, require is possible to include dynamically (done) we can do this by adding another custom directive which will set required attribute dynamically. I have prepared a demo for same. Thanks, Ramesh
4 freelancers are bidding on average $20/hour for this job
I have once created some form using iterations where complex validations were applied on the fly. I can create a directive which will serve your purpose and work on the fly