Sign Up Form
Add a signup form widget to your template.
Overview
You can add a single line signup form widget to your template to allow the visitor to send an email to the email address in the manage shared contact section, or customised email address by the editor user. The widget can be later customised within the BaseKit Editor.
To include a signup Form widget in your template you will need to add the following line:
{{widget('signupform', 'thisuniquewidgetname', {'text': 'Send', 'label': 'Your Email', 'formTitle': 'Signup Form', 'email': 'profile'})|raw}}
Widget Options
You can change the following options for the widget:
-
text
: The text on the button -
italic
: The text style on the button.true
orfalse
(default) -
bold
: The text style on the button.true
orfalse
(default) -
align
: The text style on the button. You can set it:justifyleft
justifyright
justifycenter
(default)justifyfull
-
fontSize
: The text style on the button. You can set it:inherit
(default),14
,16
,18
,20
,22
,24
-
formTitle
: The subject for the email -
label
: The text next to the email input field -
email
: The email address that the email will be sent to. It can be set to use the manage shared email address or put your own email addressprofiledefault
: The email address in the manage shared contact email address fieldexample@example.com
: Could be set to custom email address
-
goalSource
: The source of the URL after submit the formprofile
: It will use the internal linkcustom
: Could be set to custom email address
-
goalUrl
: The URL after the user submits the form- If the
goalSource
is set toprofile
, it should be set to an internal link, e.g.home
- If the
goalSource
is set tocustom
, it should be set to an external link, e.g.www.mysite.com
- If the