Difference between revisions of "Template Page Variables"

From SmartWiki
Jump to: navigation, search
(Save/Submit Buttons)
(Save/Submit Buttons)
 
(12 intermediate revisions by 5 users not shown)
Line 16: Line 16:
 
:<font size="3">'''@APPFIELDS@'''</font>
 
:<font size="3">'''@APPFIELDS@'''</font>
  
 +
All Level 2 [[Custom Field]]s, including those on the given template, can be inserted using the following:
 +
:<font size="3">'''@FORM@'''</font>
  
 
==Save/Submit Buttons==
 
==Save/Submit Buttons==
Line 22: Line 24:
  
  
To display the same array of '''Save''' buttons on the Level 1 [[External|external]] web template page that are available to the internal view of the '''Level One''' template ('''Save''', '''Save Draft''', '''Submit'''), instead of just the '''Save''' button use the following instead of '''@SUBMIT@''':.
+
To display the "Submit" button use the following variable on the Template Page:
 +
:<font size="3">'''@SUBMITONLY@'''</font>
 +
 
 +
 
 +
To display the same array of '''Save''' buttons on the [[External|external]] web template page that are available to the internal view of the template ('''Save''', '''Save Draft''', '''Submit''', and any other custom submit buttons configured), instead of just the '''Save''' button use the following instead of '''@SUBMIT@''':
 
:<font size="3">'''@SYSTEMBUTTONS@'''</font>
 
:<font size="3">'''@SYSTEMBUTTONS@'''</font>
  
:'''Note''':*This is currently only available for '''Level One'''.
+
 
 +
:'''Notes''':
 +
:* This is vailable for '''Level One''', '''Level Two''', '''Level Three''' and '''Transactions'''.
 +
:* "SYSTEMBUTTONS" is case sensitive and must be in caps.
 +
:* Using "SYSTEMBUTTONS" means you can also make use of any existing SmartCheck validation that exists on the configured button as well as custom label your buttons.
  
 
==Other==
 
==Other==
Line 58: Line 68:
 
</html>
 
</html>
 
</pre>
 
</pre>
 +
 +
==See Also==
 +
* [[Template Page]]
 +
* [[Controlling the Submit Button within a UTA Level 1 Template]]
 +
* [[Template Page - Confirmation Template|Confirmation Template]]
  
  
 
[[Category:Universal Tracking Application]][[Category:Variables]]
 
[[Category:Universal Tracking Application]][[Category:Variables]]

Latest revision as of 12:02, 16 June 2022

Standard Fields

Application Name:

[@name@]


Customer:

[@company@]


Description:

[@description@]


Custom Fields

All Level 1 Custom Fields, including those on the given template, can be inserted using the following:

@APPFIELDS@

All Level 2 Custom Fields, including those on the given template, can be inserted using the following:

@FORM@

Save/Submit Buttons

To display the "Save" button use the following variable on the Template Page:

@SUBMIT@


To display the "Submit" button use the following variable on the Template Page:

@SUBMITONLY@


To display the same array of Save buttons on the external web template page that are available to the internal view of the template (Save, Save Draft, Submit, and any other custom submit buttons configured), instead of just the Save button use the following instead of @SUBMIT@:

@SYSTEMBUTTONS@


Notes:
  • This is vailable for Level One, Level Two, Level Three and Transactions.
  • "SYSTEMBUTTONS" is case sensitive and must be in caps.
  • Using "SYSTEMBUTTONS" means you can also make use of any existing SmartCheck validation that exists on the configured button as well as custom label your buttons.

Other

To copy the style use the following within the <head> and </head>

@STYLELINK@


You must also include the following prior to any other variables to define the page as a form that can be submitted:

@FORM@


Example

<html>
<head>
@STYLELINK@
</head>
<body leftmargin=1 rightmargin=1 topmargin=1 bottommargin=1 marginheight=1 marginwidth=1>

<p>Instruction ...</p>
@FORM@
<table border=0 cellpadding=0 cellpsacing=1 width=100%>
<tr>
<th class=Label nowrap>Description:</th>
<td>[@description@]</td>
</tr>
</table>
@appfields@
@SUBMIT@
</form>
</body>
</html>

See Also