moodleforms JS validation functions out of global namespace

moodleforms JS validation functions out of global namespace

by David Monllaó -
Number of replies: 0

Hi,

Heads up about MDL-52826 as suggested by Dan - Moodle 3.1 onwards

When you use moodleforms with client-side validation rules the required JS functions are currently added to the global namespace. MDL-52826 is about changing it and use a JS self-contained function instead, as these functions were available globally although they were kind of internal to the moodleforms instance, this may affect you if you are calling them directly from your JS code.

Average of ratings: Useful (1)