Language course html
Jump to navigation
Jump to search
Line 155: | Line 155: | ||
</span> | </span> | ||
− | + | <!-- | |
<input type="hidden" name="Form language course[Level]"> | <input type="hidden" name="Form language course[Level]"> | ||
+ | --> | ||
<table> | <table> | ||
Line 378: | Line 379: | ||
// otherwise pageforms will not retrieve it! | // otherwise pageforms will not retrieve it! | ||
$ci('input').removeAttr('disabled'); | $ci('input').removeAttr('disabled'); | ||
+ | |||
+ | |||
+ | var required = ['Language','Academic year','Level','Teachers'] | ||
+ | |||
+ | for(var i of required) { | ||
+ | if(!$ci('[name="Form language course[' + i + ']"]').val()) { | ||
+ | alert(i + 'must be set') | ||
+ | return false; | ||
+ | } | ||
+ | |||
+ | } | ||
/* | /* |
Revision as of 11:31, 29 September 2020
This form is intended to create language courses of a given organization or to characterize as such whatever page of it (not containing already a form).
Once the key-data are created, insert the abstract of the course editing the page using the buttons "Edit" or "Edit source" in the top panel.
The form will be created in the current page (). If you want to create the form in a new page, go here. |