Language course html
Jump to navigation
Jump to search
Line 155: | Line 155: | ||
</span> | </span> | ||
+ | |||
+ | <input type="hidden" name="Form language course[Level]"> | ||
<table> | <table> | ||
Line 377: | Line 379: | ||
$ci('input').removeAttr('disabled'); | $ci('input').removeAttr('disabled'); | ||
+ | if(!$ci('[name="Form language course[Level from]"]').val() || $ci('[name="Form language course[Level to]"]').val()) { | ||
+ | alert('Language level must be set') | ||
+ | return false; | ||
+ | } | ||
+ | |||
+ | $ci('[name="Form language course[Level]"]').val($ci('[name="Form language course[Level from]"]').val() + '-' + $ci('[name="Form language course[Level to]"]').val()); | ||
Revision as of 11:11, 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. |