Hi !
I just wanted to know if all the 3 files :
- livevalidation_standalone.js
- calendar2.js
- jsvalidation2.js
That are load to use Chronoform are all necessary ? Because, the livevalidation and the jsvalidation2 does the same thing, don't they ? I ask that to save some weight for the page.
Is there a way to not load the CSS file on the frontend for ChronoForm but still load the JS ? (because the buton in the Admin seems to load or not both off them)
Thanks for all your help !
I just wanted to know if all the 3 files :
- livevalidation_standalone.js
- calendar2.js
- jsvalidation2.js
That are load to use Chronoform are all necessary ? Because, the livevalidation and the jsvalidation2 does the same thing, don't they ? I ask that to save some weight for the page.
Is there a way to not load the CSS file on the frontend for ChronoForm but still load the JS ? (because the buton in the Admin seems to load or not both off them)
Thanks for all your help !
Hi Mushr00m,
You need the calendar file if you have a datepicker and the other two if you use the validation (they are not the same - JSvalidation sets up the validations, LiveValidation runs them).
At the moment you can't turn the CSS & JS files on and off separately. You could turn them off in the Form General tab and then load only the files you need from the Form HTML though.
Bob
You need the calendar file if you have a datepicker and the other two if you use the validation (they are not the same - JSvalidation sets up the validations, LiveValidation runs them).
At the moment you can't turn the CSS & JS files on and off separately. You could turn them off in the Form General tab and then load only the files you need from the Form HTML though.
Bob
Hi,
No, they don't "do the same":
[list]livevalidation_standalone.js provides the LiveValidation framework, which is used to validate the form inputs client-side. You'll need this if you intend to use the Form (client-side) Validation features of ChronoForms.
jsvalidation2.js is a wrapper/worker, which actually adds the different validation rules based on form input classes. You'll need this if you intend to use the Form (client-side) Validation features of ChronoForms, and don't want to add all validation rules by hand (using javascript code).
calendar2.js is used to provide the Calendar overlay for Date Form fields. You'll need this if you have a form field for the user to enter a date, and would like to display a calendar for the user to click, rather than typing the date by hand. [/list]
If you choose to not load the ChronoForms CSS/JS, then ChronoForms does it best to figure whether you have enabled some feature that does require some or all of those javascripts, and loads in any case.
/Fredrik
No, they don't "do the same":
[list]
If you choose to not load the ChronoForms CSS/JS, then ChronoForms does it best to figure whether you have enabled some feature that does require some or all of those javascripts, and loads in any case.
/Fredrik
This topic is locked and no more replies can be posted.
