Adding a Media Input to a Form

How to add a Media input to a form

The Media input provides a means to insert images, videos, attachments, and audio on a form. When the media input is added to a form you can associate important attachments with forms data.

  1. From the Input menu in the Form Designer, click Media.
  2. The Media input is added to the form.
  3. Click on it to view the Media input slider.
  4. In the Label field, enter a label name for the media input.
  5. Select the column span size for the media input.
  6. Expand Input Options. See Using Input Options for more information.
     
  7. Mark Exclude this media on email if you do not want to include the attachment file on an email. This is useful when you don’t want to send the file to an end customer, or you know the attachments are too large for email, such as long videos. If you leave this option unmarked, the file attachments will be sent as attachments on the email, which is useful for customer-facing attachments, or when an email is sent internally to someone who may not have access to the storage location. When files exceed the limit set on email servers, no files are sent.

    Select the attachment connection to use for storing the attachments.

  8. In the New File Name field, name the attachments to identify the file in the connection folder. If the file name contains characters that are not acceptable by the storage solution, the unacceptable characters are replaced with an underscore. You can enter the form name if you want it to be part of the file name. If this field is left blank, the file name that exists is used. The extension of the file is maintained, regardless of the file name. This field is a merge field so you can a field value from the form to the file name by clicking.

    Note: If no attachment data connection is set up, fields and options related to anything other than a photo are disabled.

    Toggle Append File Name to Existing File Name to use an attachment’s existing file name as part of the new name.

  9. In the Maximum Items for this Input field to enter a maximum number of items that can be added to a media input. Then specify the maximum number of media items that can be attached.
  10. Expand Photo Options to specify settings for photos. See Using Photo Options for more information.
  11. Expand Video Options to specify settings for videos. See Using Videos Options for more information.
  12. Expand Audio Options to specify settings for audios. See Using Audio Options for more information.
  13. Expand Attachment Options to specify settings for attachments. See Using Attachment Options for more information.
  14. Expand Style to specify the style settings for the text field. See Applying Styles to an Input for more information. 
  15. Expand Validations to create a validation for the text field. See Creating Field Level Validations for more information.
  16. Expand Field Condition to create a condition for the text field.
  17. Save your entries.  
  18. Click (Preview) to view how the Media input will look in the app. Click (Camera) to take a picture or click (Picture) to open the explorer where you can select the image/attachment.