Adding custom forms
If you need to collect more information than can be captured using the standard fields, you can do so by adding a custom form to the registration and/or the booking process. You can even use a form by itself, for example to add a contact form to your website.
Creating a form
Using the New Form Wizard, you can easily create a new form. You can add as many fields as you like and you have fine-grained control over the form’s behavior and layout.
Using the New Form Wizard
To create a new form, go to the Dashboard page and select New Form in the right-hand side menu. You will first be prompted to choose between an Integrated form and a Stand-alone form. You can easily switch between the two types later. If you are unsure which one you need, pick Integrated, as it is easier to set up. If you already have custom forms available, you will also see an option to use one of those forms as the basis for your new form.
The next screen will let you design the form. Start by selecting a field type on the pane on the bottom left, for example a Text Field or a . This will show you a pop-up that allows you to customize the field by giving it a name, a default value and various other options that depend on the type of field you chose. If you do not want to label a field or add supporting text to it, the options can be left blank and the layout will adjust accordingly.
Most field types offer a Supporting text field allows you to add help text directly next to the field, helping your customer fill it out.checkbox. This means that the form can not be submitted if the field is left blank. Some fields may also contain a checkbox. This option ensures that each form needs a different value in that field. This can be useful if, for example, you want people to pick a unique username. The
Several fields contain a list of options, including Drop down menu. You list each option on a separate line, optionally adding the text to be stored in the database between square brackets. For example, if one of the options is
New York Suite [room 1], the interface will show New York Suite but if you download the form it will show
If you just add (empty) brackets to an option, nothing will be stored in the database. In combination with the Please select one (
Please select one [ ]).
Another practical use of theoption is to add it to a field with a single checkbox. This allows you to create an option like which you would typically put below an HTML box with the text of your Terms of Service.
Each field can be set to Normal (default), Hidden, or Read-Only. If a field is set to hidden, it will only be visible to superusers and the administrator. This can be useful for adding comments for internal use that you do not want the client to see. Note that there is also an option to hide an entire form elsewhere in the system, in which case you can just leave all fields set to Normal. If a field is set to Read-Only, then everyone can see the field, but only superusers and the administrator can make changes to it. This is useful for things like a membership number that customers are allowed to see but cannot edit.
Once you click, the field appears on the form and you can create another one. Note that none of the changes on the form are persisted until you click . You can also click on the form itself to save the page.
In most cases, it is not advisable to add any of the standard fields such as email to a custom form that will be integrated in a schedule. Instead, use the appropriate field on the standard form as information collected through a custom form cannot be accessed/used by the SuperSaaS system itself. The system would not know how to use the data from your form to send email confirmations or reminders and would still try to use the data from the email field on the standard form instead. These standard fields can also be shown more easily in list views on the Supervisor pages of your schedule.
Customizing the layout
When you want to edit a field, you can simply click it to get an Edit field pop-up. If you want to reorder fields on the form, you can click and drag a field with your mouse. Note that when you delete a field from the form, any information contained in that field in already submitted forms will be lost as well. Changes will only be made permanent after saving the page.
You can customize the layout of the fields using the buttons in the top left pane. By default fields are listed with the label above the text, but you can change this into a two-column layout with labels on the left and the fields on the right. If you have fields without a label then those would span both columns.
The default Auto option for the form width will allow the browser to choose an optimal layout, which typically means the browser sizes the form to be as wide as the largest field, but you can override this with the S, M and L buttons that inform the browser to set the form width to 600, 750 or 900 pixels respectively. If you are using the two-column layout, you can further tell the browser to set the relative width of the two columns to either 20/80, 30/70 or 40/60. When you leave it at Auto, the browser will make its own decision based on the column width. Furthermore, you can set a fixed width on text fields and a fixed height on text areas.
Via Layout Settings you can change the colors that are used for the various elements that make up a form (see also Changing a schedule’s appearance). An HTML field has options to set text and background color for just that field. If you want to include pictures in an HTML field, then those need to be already accessible on the internet because you cannot upload a picture here.
Upon saving the form, you will be returned to the configuration screen. You can try out the new form by clicking Use in the upper-right corner. If you want to change the form, click Configure and select the Design tab to continue working on it.
Adding a form to your registration or booking process
An integrated form can be added to either the registration or booking process. If you would like the form to be filled out for each appointment, then you should attach it to the booking process. You can add a form to a schedule via Configure > Process. As administrator you will see a “Skip” option that will still allow you to create a booking without a form.
If, on the other hand, you want the form to be filled out only once per registered user, you should add it to the registration process. Adding a form to the registration process is done via Access Control. Of course, if you do not work with registered users then adding a form here will have no effect.
The options to attach a form are only visible after you’ve created at least one custom form. When you add a form you are asked to select whether the form should be filled out by you or by users, and whether the form should be visible to them.
The form and the object to which it is attached, either an end-user account or an appointment, only get saved to the database if both are valid. So if someone schedules an appointment and then closes the browser before filling out the attached form, then the appointment will not be saved.
If you send a confirmation for newly created appointments or accounts you can attach the form to the confirmation message by including the magic word
$form in the email text (see also Customizing messages and notifications).
Using a stand-alone form
A stand-alone form is identical to an integrated form and can be used as an integrated form, but has additional functionality that allows you to use it independently. It could be used, for example, to add a sign up form to your site.
You can designate a form to be a stand-alone form when you first create it. Alternatively, you can convert an existing integrated form into a stand-alone form (and vice versa); simply navigate to Configure > Overview and press at the bottom of the screen.
A stand-alone form will have its own URL, through which it can be reached directly. Just as you can customize the schedule’s URL, you can modify a form’s URL to include your own domain name. It also has two additional settings screens: the Process tab that allows you to customize the form submission process and the Messages tab that allows you to customize the messages that are displayed as part of the process. The settings on these tabs have no effect when the form is used as an integrated form; in that case the settings can be modified on the configuration screen of the schedule in which the form has been integrated.
The Process tab describes the process of filling out a form. A flow chart at the bottom updates dynamically as you make changes. The first section allows you to limit who can access the form and when the form is available. You can, for example, close the form after a certain number of people have signed up or once a certain date has been reached and show a custom message afterwards. This custom message can be defined on the Messages tab. Here you can also customize the “Thank you” message that is shown upon successful registration, as well as the optional confirmation email.
You can place a link to the form on your own website, or put it inside an iframe, similar to how you would integrate a schedule on your site (see Integration for more information). Once users have filled out the form, you can redirect them back to your site or show a “Thank you” message.
When you use hidden fields, the form will appear differently to your customers than it does to you. In order to see what it looks like to a customer, you will need to log out and go back to the page pretending to be a regular visitor or use another browser to look at the form. This process is identical to the testing of a schedule.