Difference between revisions of "Updateable Web Page View Fields"
Andy Nguyen (talk | contribs) |
|||
Line 14: | Line 14: | ||
<p><br> | <p><br> | ||
<input type=text name='obj.cf_18168' value="@#18168#@"><br> | <input type=text name='obj.cf_18168' value="@#18168#@"><br> | ||
+ | <input type=submit value="Save"><br> | ||
[@formend@]<br> | [@formend@]<br> | ||
<br> | <br> |
Revision as of 15:08, 2 July 2008
Overview
This code can be used in the field type of 'Web page view' to allow for user to enter data into the form which will be
updated on their records on the system. Currently this function is only available for the custom fields and not the standard
fields. Following sample code is the format in which this web page view should be in order to be accessible by the user.
Sample Code
<html>
<body>
[@formstart@]
[@formsubmitpage=page_wil_be_redirected_after_save@]
<input type=text name='obj.fd_name' value="@name@">
<p>
<input type=text name='obj.cf_18168' value="@#18168#@">
<input type=submit value="Save">
[@formend@]
</body>
</html>
Breakdown of the syntax
[@formstart@] : Mandatory, indicates start of a updatable form, only one form can be exist on a web page field
[@formsubmitpage=page_wil_be_redirected_after_save@] : Optional, what page will be redirected after save, stays on the
same age if this tag is missing. Typically, a confirmation page on smartfolder will be used.
[@formend@] : Mandatory, indicates end of a updatable form.
<input type=text name='obj.fd_name' value="@name@"> or
<input type=text name='obj.cf_18168' value="@#18168#@">