Embed CheckBox within Form Container

Looking for some assistance/guidance embedding a Check Box Component into a Form Container.

Intent → I have a home screen/landing page that registered users first see

*This is a private App so access via invite only after being registered (name and email address)

The landing page includes Terms of Use (description) that users have to scroll through and then agree to.

The Form Container displays their name and email address (as pulled from the Glide Users Data Table) along with an editable field (required) for a contact phone number

The Data table contains 2 addition additional columns (CheckBox Agree + Date and Time)

The checkbox component is embedded into the Form Container with the intent that the user ticks Agree (which modifies the CheckBox Agree column in the Users Table) and includes the date/time of interaction.

Once Users have agreed to the terms I have a second page that displays (based on visibility option = display when CheckBox Agree (in Users Data Table) is checked and the landing page is then hidden.

While this all works, unfortunately it immediately hides the landing page BEFORE the submit button on the Form Container can be clicked…

1 Like

So to be clear, your users already have an existing row that they are editing,but you are using a Form container (which adds a row when submitted). Is that your intention? I feel like you shouldn’t be using a form container in your case. Instead, the main tab could be filtered to the user row and you can directly update the existing row. Checkbox for users to agree to terms, which updates the column in the user row. Along with a submit button that only displays when the box is checked and when the button is pressed it sets the date, taking the user to the next screen.

1 Like

Hi Jeff, thanks for the input, dropping the Form Container makes a lot more sense.

When you suggest the main tab could be filtered to the user row, could you please provide a few more details/examples as unfortunately it’s not clear to me.

The checkbox to update the column in the user row + submit button that only displays when the check box is checked (with the button handling date stamp and taking users to next screen) makes perfect sense

1 Like

This is all assuming that the tab is sourced from the User table. Select the tab in the upper left panel in the builder. Then click on Options in the right hand panel and adjust the filter where email is signed in user.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.