Organization member html
Jump to navigation
Jump to search
(Created page with "<html> <div class="ci_form_container"> <! ***attention! this will be stripped by PageForm but nonetheless without it will not work ! --> <form class= method="post" > <div cl...") |
|||
(16 intermediate revisions by 2 users 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 28: | Line 39: | ||
</span> | </span> | ||
− | <input class="ci_form_input" type="text" placeholder="" name="Form organization member[ | + | <input class="ci_form_input" type="text" placeholder="" name="Form organization member[First name]" value=""> |
<span class="ci_form_section_help"> | <span class="ci_form_section_help"> | ||
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 | + | <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 85: | Line 96: | ||
</span> | </span> | ||
− | < | + | <textarea name="Form organization member[Curriculum]" class="ci_form_input" style="width:100%" rows="3"> |
− | + | </textarea> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
<span class="ci_form_section_help"> | <span class="ci_form_section_help"> | ||
Line 103: | Line 106: | ||
− | <!--------------------------Affiliated from--------------------------> | + | <!--------------------------Affiliated from - to--------------------------> |
<div class="ci_form_section"> | <div class="ci_form_section"> | ||
<span class="ci_form_section_label"> | <span class="ci_form_section_label"> | ||
− | Affiliated from | + | Affiliated from - to |
</span> | </span> | ||
− | < | + | <table> |
− | + | <tr><td> <select class="ci_form_input" name="Form organization member[Affiliated from]"> | |
− | < | + | <option></option> |
− | </ | + | <option>1990</option> |
+ | <option>1991</option> | ||
+ | <option>1992</option> | ||
+ | <option>1993</option> | ||
+ | <option>1994</option> | ||
+ | <option>1995</option> | ||
+ | <option>1996</option> | ||
+ | <option>1997</option> | ||
+ | <option>1998</option> | ||
+ | <option>1999</option> | ||
+ | <option>2000</option> | ||
+ | <option>2001</option> | ||
+ | <option>2002</option> | ||
+ | <option>2003</option> | ||
+ | <option>2004</option> | ||
+ | <option>2005</option> | ||
+ | <option>2006</option> | ||
+ | <option>2007</option> | ||
+ | <option>2008</option> | ||
+ | <option>2009</option> | ||
+ | <option>2010</option> | ||
+ | <option>2011</option> | ||
+ | <option>2012</option> | ||
+ | <option>2013</option> | ||
+ | <option>2014</option> | ||
+ | <option>2015</option> | ||
+ | <option>2016</option> | ||
+ | <option>2017</option> | ||
+ | <option>2018</option> | ||
+ | <option>2019</option> | ||
+ | <option>2020</option> | ||
+ | </select> | ||
+ | </td><td> | ||
− | |||
− | < | + | <select class="ci_form_input" name="Form organization member[Affiliated to]"> |
− | + | <option></option> | |
− | < | + | <option>2020</option> |
− | < | + | <option>2019</option> |
− | + | <option>2018</option> | |
− | </ | + | <option>2017</option> |
− | + | <option>2016</option> | |
− | < | + | <option>2015</option> |
+ | <option>2014</option> | ||
+ | <option>2013</option> | ||
+ | <option>2012</option> | ||
+ | <option>2011</option> | ||
+ | <option>2010</option> | ||
+ | <option>2009</option> | ||
+ | <option>2008</option> | ||
+ | <option>2007</option> | ||
+ | <option>2006</option> | ||
+ | <option>2005</option> | ||
+ | <option>2004</option> | ||
+ | <option>2003</option> | ||
+ | <option>2002</option> | ||
+ | <option>2001</option> | ||
+ | <option>2000</option> | ||
+ | <option>1999</option> | ||
+ | <option>1998</option> | ||
+ | <option>1997</option> | ||
+ | <option>1996</option> | ||
+ | <option>1995</option> | ||
+ | <option>1994</option> | ||
+ | <option>1993</option> | ||
+ | <option>1992</option> | ||
+ | <option>1991</option> | ||
+ | <option>1990</option> | ||
+ | </select> | ||
+ | </td> </tr> | ||
+ | </table> | ||
<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 161: | Line 224: | ||
− | $(function(){ | + | $ci(function(){ |
+ | |||
+ | |||
+ | if("</html>{{PAGENAME}}<html>" == "FormEdit/Organization member") { | ||
+ | $ci('#picture_section').hide(); | ||
+ | } | ||
+ | |||
+ | |||
+ | $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. |