mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: fixed typo in userforms validation
This commit is contained in:
parent
182d1d4953
commit
b5ed564bcd
@ -244,7 +244,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
|||||||
|
|
||||||
// watch out for multiselect options - radios and check boxes
|
// watch out for multiselect options - radios and check boxes
|
||||||
if(is_a($formFieldWatch, 'EditableDropdown')) {
|
if(is_a($formFieldWatch, 'EditableDropdown')) {
|
||||||
$fieldToWatch = "$(\"select[name='".$dependency['ConditionField']."]'\")";
|
$fieldToWatch = "$(\"select[name='".$dependency['ConditionField']."']\")";
|
||||||
}
|
}
|
||||||
|
|
||||||
// watch out for checkboxs as the inputs don't have values but are 'checked
|
// watch out for checkboxs as the inputs don't have values but are 'checked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user