none
[openafs-wiki.git] / TWiki / VarEDITACTION.mdwn
1 <a name="VarEDITACTION"></a>
2
3 ### <a name="EDITACTION -- Selects an edit te"></a> EDITACTION -- Selects an edit template
4
5 - EDITACTION defined in a topic or preference setting will define the use of an editaction template instead of the standard edit. If EDITACTION is defined as `text`, then hide the form. If EDITACTION is defined as `form` hide the normal text area and only edit the form.
6 - Syntax: Set EDITACTION = text|form
7 - Expands to: %EDITACTION%
8 - Related: [[TWikiScripts#edit]]
9 - %X% When EDITACTION is defined as text or form the Edit and Edit Raw buttons simply add `;action=text` or `;action=form` to the URL for the edit script. If you have defined EDITACTION in a topic setting or preference setting you can still edit the topic content or the form by removing the `;action=form` or `;action=text` from the edit URL in the browser and reload.