Download User Manual

Transcript
SECTION 5, Building a Web Site
235
The Full or Relative URL of an Upload File that is contained within an Upload Folder
that has been published to the web, can be obtained from the Upload File browse window using the Selected menu (or right click an Upload File row) and picking the relevant option.
HTML Forms in Inrax Web Sites
Inrax provides support for embedding forms within your web site. You might use a
form to allow the customer to enter an enquiry.
Amongst other powerful and flexible features detailed below, Inrax web forms support
the automatic recording of visitor details within an Organisation record, capturing their
name, address, enquiry and other details of your choice. The visitor may enter text,
pick from option menus and tick boxes on the web site using standard browser input
methods.
The following HTML defines a simple form that you could place within an Inrax web
page.
<form method="post" id="testForm" action="/wa/genericFormOrganisation">
<input type="hidden" value="57" name="site">
<input type="hidden" value="1776" name="mpGoToWebPageId"><BR>
Your email address: <input name=”mpEmail” type=text>
<input type=checkbox value="Mailing List" name=”mpOrganisationGroupSubscribe”>Yes please
Enquiry: <textarea name=”gfEnquiry”></textarea>
</form>
The first line must include the action “/wa/genericFormOrganisation”.
Fields names that start with “mp” have the special functions described in the table
below. Some of these may be hidden in the form, meaning they are not visible in the
browser, but can be configured to pass information back with the rest of the form content. At least mpEmail must be present for an Organisation to be automatically created
following the from submission.
Other fields can be given any name,,, but must start with “gf” if you wish them to be
included in the email that is forwarded to the web site owner and also if you wish them
to be appended to the Note section of the Organisation (if one is created). If an
Organisation already exists with the same email address, that Organisation is updated
instead and the enquiry details appended to the Note.
FIELD MEANING / POSSIBLE VALUES....
KEY
Version 6.8 - 19th Jun 2014
Hidden
VALUE