Action Button

Follow

The Action Button widget allows you to make your forms more “app like”. You do this by creating “buttons”, then assigning actions to the buttons when pressed. Action buttons can be used to jump to questions or pages, so you can build your own form/app menus. Action buttons can also be used to:

  • Jump to a page
  • Jump to a question
  • Open a web page
  • Play a video
  • Launch an external app
  • Send customized dispatch status flag
  • Launch Google Maps (web version)
  • Save and Send a completed form with just one click
  • Save, Send and Start a new form with just one click
  • Save, Send and Reload form with just one click
  • Save a form as Incomplete with just one click
  • Save a form as Complete with just one click
  • Save a form with just one click
  • Close a form without saving or sending
  • Print (web forms only)   

 

To create an Action Button, drag the widget onto the question canvas of your form (illustrated below). If you are creating a menu, you will need one Action Button for each menu button. You can use our standard doForms buttons (as shown above and below), or upload your own customized button images for a more polished look. To upload your own customized button, just check the “Use image” property. If you want your custom buttons to have text, then this text needs to be embedded in the image prior to upload (while this is in a Label widget – the HVAC graphic above and below is an example of an uploaded image).

 

The Acton Button widget has the following special properties that you use to control its look and behavior:

Data name - Represents the name of the data that will be displayed in column headings. This property is automatically filled in but may be modified in the properties area. We recommend one or two word data names to keep column headings short. The maximum number of characters is 30. Spaces are not permitted in the Data Name field. 

Use Button – Choose this option if you wish to use the defaulted button image.

Use Image – Allows you to upload or select a custom button image to be used as a button (as an alternative to a standard doForms button shape). There is no restriction on the size of the image. If you want your custom buttons to have text, then this text needs to be embedded in the image prior to upload. Accepted image formats are JPG and PNG.

Action button text – Allows you to specify the text that will be displayed in a standard button format. If you use an image instead of the standard button format, the image will need to contain any desired text.

Button/Image justification – Controls the justification of the standard button or button image (left, center, right).

Action – Allows you to select the type of action that will take place when the action button is pressed. The action options are: (1) jump to question, (2) jump to page, (3) play video, (4) open web page, (5) launch program, (6) send status, (7) Launch Google Maps (8) Save > Send the form, and (9) Save > Send > reload form (10) Save, Send and load selected form (11) Save as Incomplete (12) Save as Complete (13) Save form (14) Close form without saving or sending (15) Print (web forms only)

Destination page – Used with the “Jump to page” action to specify the form page to jump to when the action button is pressed. The “Execute auto stamp…” option determines whether or not to execute any date:time or location auto stamp questions located between the action button and the destination page.

Destination question – Used with the “Jump to question” action to specify the question to jump to when the action button is pressed. The “Execute auto stamp…” option determines whether or not to execute any date:time or location auto stamp questions located between the action button and the destination question.

URL of video – Used with the “Play Video” action to specify the website URL of the video to be played. Note that an Internet connection is required for playing videos.

URL of web page – Used with the “Open Web Page” action to specify the website URL of the web page to be opened. Note that an Internet connection is required for opening a web page.

Input type – Used with the “Launch Google Maps” action to specify if the trip destination input will be an Address or a Lat/Lon.

Input source – Used with the “Launch Google Maps” action to specify if the trip destination input will be entered from a Lookup widget, Text widget or a Location widget.

Relevant question – Used with the “Launch Google Maps” action to specify the question widget containing the Input Source.

Output type – Used with the “Launch Google Maps” action to specify if the action will produce (1) directions form the current location to a destination location (as specified in by Input Type and Input Source), or (2) a map centered on the location (as specified in by Input Type and Input Source).

Status text – Used with the “Send Status” action to specify the text string that will be sent to the Dispatch tab as a status message. Note that an Internet connection is required for sending a status message.

Android app name – Used with the “Launch Program” action to specify the name of the Android app that will be launched when the action button is pressed. For Android devices the “app name” must be spelled exactly as listed in the device Settings > Manage Applications page.

iOS app URL scheme – Used when the Action property is set to “Launch Program” to specify the ID of the iOS app that will be launched when the action button is pressed. iOS app URL scheme forms in most apps can be found at http://handleopenurl.com. Below is a lookup result for Google Maps. The app URL scheme is “comgooglemaps”, which is the value you would enter in the Action Button property.

Advanced - Clicking on the Advanced arrow will reveal “Relevance conditions” properties that can be used of further control the behavior of your form using sophisticated logical statements. Please refer to http://support.doforms.com/hc/en-us/articles/200446034-Using-Relevance-Skip-Logic for more information on these properties.

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk