danielneis / moodle-availability_paypal

An Availability Condition for Moodle to require a PayPal payment to access activities and resources.
https://moodle.org/plugins/availability_paypal
GNU General Public License v3.0
11 stars 7 forks source link

Form field validation #3

Closed meridiumtechnologies closed 9 years ago

meridiumtechnologies commented 9 years ago

Settings are not validated, e.g. one can enter text string for the Cost.

meridiumtechnologies commented 9 years ago

The "Cost" field is still not validating (float) as I was able to enter and save free text.

danielneis commented 9 years ago

hello, now i've managed to fix the validation based on what is done on the "grade" availability condition =)

meridiumtechnologies commented 9 years ago

+1