Ignore:
Timestamp:
05/25/05 09:14:49 (14 years ago)
Author:
gocher
Message:

plugin form:
changes Form dialog, add Encoding and Target Frame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Forms/popups/form.html

    r191 r199  
    1515  document.getElementById("f_action").value = param.f_action; 
    1616  document.getElementById("f_method").value = param.f_method; 
     17  document.getElementById("f_enctype").value = param.f_enctype; 
     18  document.getElementById("f_target").value = param.f_target; 
    1719        document.getElementById("f_name").focus(); 
    1820}; 
     
    3133  } 
    3234  // pass data back to the calling window 
    33   var fields = ["f_name", "f_action", "f_method"]; 
     35  var fields = ["f_name", "f_action", "f_method", "f_enctype", "f_target"]; 
    3436  var param = new Object(); 
    3537  for (var i in fields) { 
     
    5961  <legend>Form handler script</legend> 
    6062  <div class="space"></div> 
    61   <div class="fr">Script URL:</div> 
     63  <div class="fr">Action URL:</div> 
    6264  <input name="action" id="f_action" type="text" size="30"> 
    6365  <p /> 
     
    6971  </select> 
    7072  <div class="space"></div> 
     73  <div class="fr">Encoding:</div> 
     74  <select name="enctype" id="f_enctype"> 
     75    <option value=""></option> 
     76    <option value="application/x-www-form-urlencoded">HTML-Form to CGI (default)</option> 
     77    <option value="multipart/form-data">multipart Form Data (File-Upload)</option> 
     78  </select> 
     79  <p /> 
     80  <div class="fr">Target Frame:</div> 
     81  <input name="target" id="f_target" type="text" size="30"> 
     82  <p />   
    7183  </fieldset> 
    7284 
Note: See TracChangeset for help on using the changeset viewer.