E-Documents: Editing Fillable Fields with Markdown (legacy)

Support Center > About SecureVideo Features

Published 09/13/2022 at 4:28pm UTC

Page viewed 12471 times

Details

E-Documents allow the patient to fill out a form while in the virtual waiting room, and electronically sign it. Users with an Account Administrator or Clinical Supervisor role can create/edit as many templates as needed, and delete templates as well. Common uses for these E-Documents include Statements of Understanding and intake forms. For a good overview of this feature, please see the video recording of a webinar we hosted on e-documents

 

This support article illustrates how to create or edit fillable fields within an e-document using our simple markdown code. THIS IS STILL SUPPORTED BUT CONSIDERED A LEGACY FEATURE. A newer, easier feature is our drag and drop editor to make fillable fields instead.

 

You may also be interested in:

 

Answer

  1. Textbox: single-line text answer
  2. Text Area: multi-line text answer
  3. Radio Buttons: multiple-choice, all choices visible, only one answer possible
  4. Checkbox: multiple choice, multiple answers possible
  5. Date: checks for a valid date (e.g., 12/1/2022)
  6. Dropdown: multiple choice, only one choice visible, only one answer possible (useful to place in-line with other text)

 

Field Type: Textbox

  1. To make a textbox, type the name of your field and "(textbox)" within 2 curly brackets, like this:
{Phone Number(textbox)}

Plain textbox

 

The field name for a textbox is not visible, so be sure to write the field name as you would like it to be displayed to your participant, outside of the curly brackets.

Phone Number: {Phone Number(textbox)}

Visible question and plain textbox

 

  1. To set a minimum or maximum character length, add a colon and the minimum and maximum character length the box should have. In the example below, a submission must be at least 10 characters long and no more than 10 characters long (i.e., must be 10 characters long). The length of the textbox will grow or shrink depending on the number of max characters. (The default width is 300px; if a max character number is set, the width is 15px per character.)
Phone Number: {Phone Number(textbox:10,10)}

Visible question and plain textbox, 150 pixels wide

 

  1. If you only want to add a minimum (if text is entered), just include one number. In the example below, a submission must be at least 10 characters long. No maximum character limit is set, so the box is the default width of 300px.
Phone Number: {Phone Number(textbox:10)}

Visible question and plain textbox, 300 pixels wide

 

  1. To require the field to be answered, add an asterisk before the second curly bracket.
Phone Number: {Phone Number(textbox:10)*}

Visible question and plain textbox, required dot

 

Return to Top

 

Field Type: Text Area

  1. To make a textarea, type the name of your field and "(textarea)" within 2 curly brackets, like this:
{Describe your ideal day(textarea)}

Text area field 

 

The field name for a text area is not visible, so be sure to write the field name as you would like it to be displayed to your participant, outside of the curly brackets.

Describe your ideal day: {Describe your ideal day(textarea)}

Text area field

 

  1. The default size for a textbox is 80px by 5px. To set a different size, add a colon and the number of column-pixels and row-pixels. In the example below, the text area would be 100 columns wide by 10 rows high.
Describe your ideal day: {Describe your ideal day(textarea:100,10)}

Text area field, 100 columns by 5 rows

 

  1. To require the field to be answered, add an asterisk before the second curly bracket.
Describe your ideal day: {Describe your ideal day(textarea:100,10)*}

Text area field, 100 columns by 5 rows, required dot

 

Return to Top

 

Field Type: Radio Buttons

  1. To make a list of radio buttons, type the name of your field and "(radio:)" within 2 curly brackets. Within the parentheses after the colon, add a list of choices separated by a comma, like this:
{Hogwarts House(radio:Gryffindor,Hufflepuff,Ravenclaw,Slytherin)}

Radio button example rendered 

The field name for a set of radio buttons is visible to the person filling out the form.

 

  1. To set a default value, add a caret (^) symbol after it. (Only one answer is allowed, so you can only set up to one default value.) In the example below, "Hufflepuff" is set as the default value.
{Hogwarts House(radio:Gryffindor,Hufflepuff^,Ravenclaw,Slytherin)}

Radio button example rendered, Hufflepuff selected as default

 

  1. To require the field to be answered, add an asterisk before the second curly bracket.
{Hogwarts House(radio:Gryffindor,Hufflepuff^,Ravenclaw,Slytherin)*}

Radio button example rendered, Hufflepuff selected as default, required dot 

 

Return to Top

 

 

Field Type: Checkbox

  1. To make a set of checkboxes, type the name of your field and "(checkbox:)" within 2 curly brackets. Within the parentheses after the colon, add a list of choices separated by a comma, like this:
{What comedies are you watching?(checkbox:Brooklyn 99,The Good Place,Modern Family,Silicon Valley)}

Checkboxes example rendered

The field name for a set of checkboxes is visible to the person filling out the form.

 

  1. To set a default value, add a caret (^) symbol after it. In the example below, "Brooklyn 99" is set as the default value. (You can make multiple values a default value. The participant filling it out can uncheck a default value.)
{What comedies are you watching?(checkbox:Brooklyn 99^,The Good Place,Modern Family,Silicon Valley)}

Checkboxes example rendered, Brooklyn 99 checked as default 

The field name for a set of checkboxes is visible to the person filling out the form.

 

  1. To require that AT LEAST one box be checked, add an asterisk before the second curly bracket.
{What comedies are you watching?(checkbox:Brooklyn 99^,The Good Place,Modern Family,Silicon Valley)*}

Checkboxes example rendered, Brooklyn 99 checked as default, required dot

 

Return to Top

 

 

Field Type: Date

  1. To make a date field, type the name of your field and "(date)" within 2 curly brackets. The date will require the participant to enter 4 digits for the year (but leading zeroes for the month and day can be omitted), and the system will also check that the date is valid (once the participant attempts to submit).
{When was the last time you watched the sun rise?(date)}

 Date field

 

The field name for a date is not visible, so be sure to write the field name as you would like it to be displayed to your participant, outside of the curly brackets.

When was the last time you watched the sun rise?: {When was the last time you watched the sun rise?(date)}

Example question with date field 

 

  1. To set a minimum or maximum date, add a colon and the minimum and maximum date the answer should follow. In the example below, a date cannot have taken place before January 30, 2000, or after "today"; whatever today is.
    • The date can be a specific date, or relative to "today". E.g., "today+3" is "3 days after today". "today-3" is "3 days before today", as determined by the participant's time zone.
When was the last time you watched the sun rise?: {When was the last time you watched the sun rise?(date:2000-1-30,today)}

Example question with date field 

 

  1. To require the field to be answered, add an asterisk before the second curly bracket.
When was the last time you watched the sun rise?: {When was the last time you watched the sun rise?(date:2000-1-30,today)*}

Example question with date field, required dot

 

Return to Top

 

 

Field Type: Dropdown

  1. To make a dropdown field, type the name of your field and "(dropdown:)" within 2 curly brackets. Within the parentheses after the colon, add a list of choices separated by a comma, like this:
{Who is your favorite superhero?(dropdown:Wonder Woman,Ms. Marvel,Power Girl,Wasp)}

Dropdown field, no default set 

 

The field name for a dropdown field is not visible, so be sure to write the field name as you would like it to be displayed to your participant, outside of the curly brackets. The dropdown field is about as wide as the longest possible answer. 

Who is your favorite superhero? {Who is your favorite superhero?(dropdown:Wonder Woman,Ms. Marvel,Power Girl,Wasp)}

Visible question, dropdown field, no default set 

 

  1. To set a default value, add a caret (^) symbol after it. (Only one answer is allowed, so you can only set up to one default value.) In the example below, "Wonder Woman" is set as the default value.
Who is your favorite superhero? {Who is your favorite superhero?(dropdown:Wonder Woman^,Ms. Marvel,Power Girl,Wasp)}

Visible question, dropdown field, 'Wonder Woman' set as default

 

  1. To require the field to be answered, add an asterisk before the second curly bracket.
Who is your favorite superhero? {Who is your favorite superhero?(dropdown:Wonder Woman^,Ms. Marvel,Power Girl,Wasp)*}

Visible question, dropdown field, 'Wonder Woman' set as default, required dot

 

Return to Top

 

 

This article was last reviewed by our Support team on September 12, 2022.