Create form

Stacker allows you to customize the create form for each table in your app, you can control how your users submit new records. You can also include various static widgets: fields, banners, text, and callouts.

Access Create Layout

  1. Go to a List Layout

  2. Click +Add (top right)

  3. Click the Expand button

  4. Select the Edit Layout

  5. Select Customize layout

  6. Choose new widgets to place on the page or select exisiting widgets to make changes

Edit Create Layout

  • Toggle on/off fields that you want your users to have access to when they create a new record

  • Reorder the fields by clicking and dragging them

  • Change the name by clicking the title of the form while inEdit Layout.

  • Open up the settings for a specific field by hovering your mouse over it in the menu and clicking the pencil icon.

    • This will allow you to edit/hide the label

    • Add a description or make it a required field (users cannot submit the form unless a value is provided for that field)

    • Set a default value to prefill fields

    • Add placeholder texts

    • Allow quick copy which will put a little icon next to the field allowing a user to hover over text and copy this to a clipboard

    • Auto select a value if it is the only available option (i.e if a user can only see their name it will autofill with their name when this box is checked)

While viewing a pop up for the create form click Expand to access the layout editor.

Auto-Select if only one option available

You can set an option on linked fields to say if the user filling out the form only has the option to "read/update/create" in the permissions for one record it will automatically populate in the create form.

For example, when a user fills out the form below they will automatically have their user record populate in the User Records field.

Creating a multi step Create form

Stacker also allows you to create the appearance of a multi-step form and collect different information from users depending on who they are, or their answers to previous questions using Conditional Visibility filters.

Use two field widgets to get started. Place a field you want to use to distinguish the next step by, for example, on a real estate form, we want to have different options for different answers for the field called "For Sale/To Lease"

If the drop down choice is "For sale" we want to show the widget that requires "Sale Information".

If the drop down choice is "To Lease" we want to show the widget that requires "Lease Information"

Set your Conditional Visibility filter to decide when the widget will show

  1. Click to highlight the first widget

  2. In Edit layout click Set conditional visibility

  3. Select the field. In this example, it will be the "For Sale/To Lease" field

  4. Select operator "is" and the option "For Sale"

  5. Repeat this for the second widget

Now when users select either "For Sale" or "To Lease" in the first field container, they will only be shown the relevant field container.

Need users to fill out a form before seeing information?

Forms are not public, users will need to login to access the form.

You can set up a form to be filled out when users access your portal.

First you will need to set up a table as your form on the Data Grid. The fields will be your questions and people will write in their answers or make them multi or single select options.

The names of your fields can be your internal names, you can change the label in the Layout Editor. This can help for data collection purposes.

Next, create a link to your users table or the users table provided.

Then, set up your ownership permissions. This will connect people to their submissions once completed.

Set the display to "one record only" and choose the option "Show create form when empty"

This will show the form you created for this table if the users are not connected to a submission.

Edit your form to collect the information you would like.

Once the form is filled in users will see their information only.

If you need multiple view types, duplicate the layout and choose a different view type.

Last updated

#255:

Change request updated