Creating a Mobile Form DataPage
WML Submission Forms work in WAP browsers on wireless devices such as cell phones or handheld PDAs.
Similar to Submission Forms, WML Submission Forms can be used to add data or update existing records, and can generate automatic emails to those who submit information (acknowledgement emails) and to people in your organization (notification emails).
WML Update Forms are possible through Web User Authentication and Record Level Security.
Creating a WML Submission Form to Add Data
Here are the steps to create a WML Submission Form that will add data to the base table or view. Creating an update form is described here.
- Ensure that you already have a table or view for this WML Submission Form. If you are using a view, it must be based on a single table.
- From the File menu select New DataPage or in the DataPages viewclick on the toolbar. This brings up the DataPage Wizard.
1. DataPage Properties
Click on the Mobile icon on the left and on the WML Submission Form icon on the right to select the DataPage type.
2. DataPage DataSource
Select your table or view as data source and enter a name for your DataPage.
Select a Localization to apply.
3. Select Fields
Select the desired fields from your table or view for the WML Submission Form. Each field has an icon beside it indicating its data type. AutoNumber fields cannot be selected for a WML Submission Form since they are automatically maintained by Caspio Bridge. File Fields are not supported in WML Submission Forms.
4. Configure Fields
The fields you selected are listed on the left. Select each field, one at a time, and configure its properties on the right. Form element types are described separately. You may want to enter Default values for certain fields to save your users some time.
Click the Insert button to add a WML block to hold long descriptions, section dividers or any text or graphic you desire.
|When designing your WML blocks, remember that not all mobile devices will display images. Most of the new devices support GIF, JPEG and PNG formats, while older ones can only display images in WBMP format.|
Use the Move up and Move down buttons to change the display order of the fields and WML blocks.
5. Destination and Triggers
Configure the Destination Page of this form. This is the page that is displayed for the user when this form is submitted. You have these options:
- Load the same form. This is useful for data entry purposes.
- Redirect the user to a confirmation page (URL) on your WAP site. You must have a confirmation page designed and accessible on your site.
- Load another WML Submission Form or WML Update Form.
- Display a message to acknowledge that the form is successfully submitted. Customize the message with your text and WML formatting if desired.
Enable Acknowledgement email and/or Notification email, if desired. For acknowledgement emails, select the field that will contain the user's email address. The acknowledgement email will be sent to the value found in this field in the form.
Click Next to configure the emails, or click Finish.
6. Acknowledgement Email
This step is skipped if you did not enable Acknowledgement Emails.
Acknowledgement emails may be sent on your behalf to users who submit a DataPage. You have already identified the field of the form which contains the recipient's email address. Now, configure the remaining options as described here.
7. Notification Email
This step is skipped if you did not enable Notification Emails.
Notification emails are sent to fixed email addresses, normally within your organization, to notify one or more people that a new submission is made. You may assign a Table-driven value to the Reply-to field from the drop-down list or choose to use the same email address as the one in the From field. Configure your notification emails as described here.
A confirmation that your DataPage has been created is displayed. Click Close.
- Deploy your DataPage on your site.
- Control access with Web User Authentication and Record Level Security.
- Localize your DataPage into any language with country-specific formatting.