User Tools

Site Tools


rc-example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rc-example [2009/05/27 17:39]
bradley
rc-example [2009/06/08 18:48] (current)
jay
Line 1: Line 1:
 ====== Recruit Application Example ====== ====== Recruit Application Example ======
  
-You will need a form on a page on your public website to allow your visitors to enter the required fields and also allow them to enter the optional fields if you want to store extra information.  Specify method=POST in the form tag.  In the "action" parameter of the form tag, fill in the URL of your channelsuite install followed by "/API/Recruit/", for example:  action="http://<your channelsuite URL>/API/Recruit/". The form will be posted to the channelsuite server.+You will need a form on a page on your public website to allow your visitors to enter the required fields and also allow them to enter the optional fields if you want to store extra information.  Specify method=POST in the form tag.  In the "action" parameter of the form tag, fill in the URL of your channelsuite install followed by "/API/Recruit/", for example:  <code>action="http://yourChannelsuiteURL>/API/Recruit/"</code> 
 +When the user clicks on save, the form will be posted to the channelsuite server.
  
 In the following example, we allow for a prospective partner to enter all the information they want to provide. In the following example, we allow for a prospective partner to enter all the information they want to provide.
Line 7: Line 8:
 <code html> <code html>
 <form action="http://<your chnnelsuit install>/API/Recruit/" name="editForm" id="editForm" method="post" enctype="multipart/form-data" onSubmit="return checkRequired()" > <form action="http://<your chnnelsuit install>/API/Recruit/" name="editForm" id="editForm" method="post" enctype="multipart/form-data" onSubmit="return checkRequired()" >
-<span class="fineprint"><label><input id="saveRecord" name="saveRecord" value="1" type="checkbox">&nbsp;Display data without saving</label></span+<span class="fineprint"><label><input id="saveRecord" name="saveRecord" value="0" type="checkbox">&nbsp;Display data without saving</label></span> 
-<input type="hidden" id="process" name="process" value="createNew"+<input type="hidden" name="directPostKey" value="getKeyFromYourAccountManager">
-<input type="hidden" name="directPostKey" value="authenticated"> +
-<input type="hidden" id="m" name="m" value="recruiter"> +
-<input type="hidden" id="recruit_id" name="recruit_id" value=""> +
-<input type="hidden" id="user_id" name="user_id" value="51">+
     <table border="0" name="outerTable" cellspacing="0" cellpadding="2" style="float:left;">     <table border="0" name="outerTable" cellspacing="0" cellpadding="2" style="float:left;">
                     <tr>                     <tr>
Line 163: Line 160:
          <option value="39"> Congo </option>          <option value="39"> Congo </option>
          <option value="40"> Costa Rica </option>          <option value="40"> Costa Rica </option>
 +
          <option value="41"> Croatia </option>          <option value="41"> Croatia </option>
          <option value="42"> Cuba </option>          <option value="42"> Cuba </option>
Line 355: Line 353:
                         <td valign="top">                         <td valign="top">
                         </td>                         </td>
-                        <td><p><input id="submitButton" value="Save" type="submit"></td>+                        <td> <span style="display:none;visibility:hidden;"> 
 +        <label for="yourEmail"> 
 +        Ignore this text box. It is used to detect spaambots. 
 +        If you enter anything into this text box, your submission 
 +        will be rejected. 
 +        </label> 
 +        <input type="text" name="yourEmail" size="1" value="" /> 
 +      </span> 
 +                             <p><input id="submitButton" value="Save" type="submit"></td>
     </tr>     </tr>
      </table>      </table>
Line 361: Line 367:
 </code> </code>
  
-thus 
rc-example.1243445969.txt.gz · Last modified: 2009/05/27 17:39 by bradley