Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37679

A problem with $mform->disabledIf

$
0
0
by Daniele Cordella.  

I wrote the attached stub of moodle form.
It holds a checkbox item and a select item.
The checkbox item is an array of 4 checkbox elements.

I would like to have the select item enabled ONLY if the user answer to the first item is:
Spain: checked
France: not checked
Germany: not checked
Italy: checked

I can not get it working. Any suggestion to solve this weird issue?
Thanks in adavnce.


Viewing all articles
Browse latest Browse all 37679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>