Shortcode / Shorttag
Sometimes you want to use the download url as publicly available. But you don't want to update all posts when you regenerate the url for that form. For these cases we've added a shortcode. This shortcode works for both wordpress as notifications.
You can render the url for a form on the front-end by using the
form- (required) the id of the form to get the download url from
type- The file type, either
csv. No type defaults to the predefined setting.
[gfexcel_download_url form=1 type=csv]
A notification is send when a user fills out your form. This notification can contain the download url for easy access. The shortcode for notifications is only slightly different, as it uses braces instead of brackets.
Because the notification is connected to a form, we already know what form-id to use for the url. Therefore we don't need any other attributes.
There are not attributes for the notification shortcode. The file extension is retrieved from the form settings.