Can I create a visual divider in forms? & Pre-question text (non-field) & Others

Hey,

  1. I want to enter some visual dividers in my form. For example, if one section asks about personal life, and the second part asks about work, I’d like to have some sort of horizontal line, to indicate to the user that the following section is different.
  2. Before some questions, I’d like to enter a big box of explanatory text, so the user will have some context before answering the question. I know I have help text, but this text should always show, before answering the form question.
  3. Can I have a checkbox with alert as a form answer? For example, before accepting terms and conditions, I’d like the user to click a checkbox, and then an alert will pop up to make sure he understands the terms & conditions before marking yes.
  4. How can I round a float field type number? As of now, I see 0.000000000.

Thank you.

Hello,

  1. One method for this would be to add a field with display type ‘_Label’ and setting the caption to “________” (i.e. underscores). Ensure no value has been inputted into the ‘Field’ field of the field (i.e. it is not linked to the database but is just a hard coded underscore value).

  2. You could also do this with the method described in part 1, but instead of underscores as the caption you would insert your explanatory text.

  3. You can achieve this functionality by using window.confirm(). You will need to create a Javascript function for this and attach it to the on click event of the checkbox. You could also check the value of the checkbox, if it is checked, then display window.confirm(), otherwise display nothing. Let me know if this solves your issue, if it doesn’t we can try another solution!

  4. It depends how many decimals you would like to round to, if you want to round the 2 decimal places, you can use the display type ‘Float.2’, otherwise, you can either create a custom display type and specify the number of decimal places to show or you could also use a Javascript function to round the number as well.

Hope this helps!

Thanks,
Riley.

Thank you.

I’d like to add a label that is formatted with some bolding, italic and row breaks.
How can I achieve this inside a form?
Attaching a screenshot of how it looks now as a label type.

Is there only one label that needs to be changed? Do you have other labels in form as well? If yes, you are unable to customize a single label individually, any changes made in the theme will apply globally to all labels.

I have about 4-5 labels that I want to display as large text.
I also have other labels that are used as titles.

Can I create a data type specifically for the large text?

You can try defining a display type for large text within Five. Refer to this documentation to see if this is what you want to achieve by adjusting its display properties in the plugin.