Organization member html

From Redazione
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This form is intended to create board members of a given organization or to characterize as such whatever page of it (not containing already a form).
 +
 +
Once the key-data are created, as usual you might insert further data not foreseen by the form using the buttons "Edit" or "Edit source" in the top panel.
 +
 +
'''The form contains a field "picture" available only once the page is created, through which to upload a professional picture of this member'''
 +
 +
 +
{{Form header|form=Organization member}}
 +
 +
 
<html>
 
<html>
 +
 
<div class="ci_form_container">
 
<div class="ci_form_container">
  
Line 54: Line 65:
 
<!--------------------------Picture-------------------------->
 
<!--------------------------Picture-------------------------->
  
<div class="ci_form_section">
+
<div class="ci_form_section" id="picture_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
 
Picture
 
Picture
Line 63: Line 74:
 
<input id="input_2" class="ci_form_input" disabled="disabled" type="text" placeholder="" name="Form organization member[Picture]" value="">
 
<input id="input_2" class="ci_form_input" disabled="disabled" type="text" placeholder="" name="Form organization member[Picture]" value="">
  
<img class="loading" style="display:none" src="/w/en/extensions/PageForms/skins/loading.gif">
+
<img class="loading" style="display:none" src="/w/extensions/PageForms/skins/loading.gif">
 
<input class="simpleupload_btn" data-id="input_2" type="button" value="Upload" name="">
 
<input class="simpleupload_btn" data-id="input_2" type="button" value="Upload" name="">
 
<input class="simpleupload_rmv_btn" style="display:none" data-id="input_2" type="button" value="Remove" name="">
 
<input class="simpleupload_rmv_btn" style="display:none" data-id="input_2" type="button" value="Remove" name="">
Line 178: Line 189:
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
 +
Leave the select on the right empty if currently in charge
 
</span>
 
</span>
  
Line 213: Line 225:
  
 
$ci(function(){
 
$ci(function(){
 +
 +
 +
if("</html>{{PAGENAME}}<html>" == "FormEdit/Organization member") {
 +
$ci('#picture_section').hide();
 +
}
 +
  
 
$ci('.ci_form textarea').autosize();
 
$ci('.ci_form textarea').autosize();
 +
 +
 +
$ci('form').submit(function() {
 +
// ***attention !!!
 +
// otherwise pageforms will not retrieve it!
 +
$ci('input').removeAttr('disabled');
 +
return true;
 +
});
  
  

Latest revision as of 06:57, 4 September 2020

This form is intended to create board members of a given organization or to characterize as such whatever page of it (not containing already a form).

Once the key-data are created, as usual you might insert further data not foreseen by the form using the buttons "Edit" or "Edit source" in the top panel.

The form contains a field "picture" available only once the page is created, through which to upload a professional picture of this member


The form will be created in the current page (). If you want to create the form in a new page, go here.


Leave the select on the right empty if currently in charge