add support for an attachment upload field
FormBuilder makes it annoyingly hard to move a submit button to a nonstandard place. The button name has to be "_submit" or FormBuilder will ignore it.master
parent
dbab5e9b85
commit
6643db0cd2
|
@ -60,6 +60,11 @@ Optional comment about this change:<br />
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
<TMPL_VAR FORM-SUBMIT>
|
<TMPL_VAR FORM-SUBMIT>
|
||||||
<TMPL_VAR HELPONFORMATTINGLINK>
|
<TMPL_VAR HELPONFORMATTINGLINK>
|
||||||
|
<TMPL_IF NAME="FIELD-ATTACHMENT">
|
||||||
|
<div id=attachment><p>
|
||||||
|
Attach a file: <TMPL_VAR FIELD-ATTACHMENT><input name="_submit" type="submit" value="Upload" />
|
||||||
|
</p></div>
|
||||||
|
</TMPL_IF>
|
||||||
<TMPL_VAR FORM-END>
|
<TMPL_VAR FORM-END>
|
||||||
|
|
||||||
<TMPL_IF NAME="PAGE_PREVIEW">
|
<TMPL_IF NAME="PAGE_PREVIEW">
|
||||||
|
|
Loading…
Reference in New Issue