Where is the list of my forms?

Hello,

Is it possible to create an add form for a table X that will be used in several places in my application?

Currently, each time I have to put a button to add a new element in the table X (several possible places), I have to recreate the form.

When I add a new attribute, I have to modify the same screen several times.

Can I create forms for Add / Modify that are used several times in the application

You can use a mix of new form screen and add a form container.

On the add button, instead of Show form screen, select a new workflow.

In that workflow, set a show new screen:

Go back to the layout editor and click on the add button. Customize your screen and there we go.
You will be able to open use the same workflow to open the same screen anytime you want in the context of the table.

2 Likes

Thank you, thanks to you, I am starting to understand the workflows.

This will help me precisely for the additions / modifications precisely.

However, there is always something that I do not understand.

When I change screens, I no longer have access to all the workflows.

For example, I created a “CLIENT” workflow when I am on a “CLIENT” screen that allows you to create a new client…

I have another “PROSPECT” screen. And I would like to add an “add a client” button and call the CLIENT workflow. Unfortunately, on the prospect screen, I do not see the “CLIENT” workflow.

Is this normal?

Yes, that’s normal. Screens are bound to tables.

If you want a “re-useable” form, do the following:

  • create a new table and add a single row (good practise is to add a RowID column)
  • add one or more User Specific columns. These will hold your form input values
  • build your form on the details screen attached to this table. This will be a Custom Form, so you will need to add your own Submit/Cancel buttons with associated actions.
  • in your Users table, create a Single Value column that targets your new table, and select First->Whole Row. This Single Value column will work like a Single Relation. You can navigate through it, and you can Set Column Values through it.
  • now, any time you want to open your form (from anywhere in your App), use an action that does Show Details Screen->User Profile Row->Single Value Column.
3 Likes

Thanks Darren, I think I understand.
I’ve never used “Single Value”, I’m still struggling a bit but I get the idea.

I’ll create a table and try.

1 Like

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