Action - Save and launch a new form

I have 2 tables / forms โ€œTime Clockโ€ & โ€œHazard Assessmentโ€.

The first table / form โ€œTime Clockโ€, the user hits the โ€œ+โ€ to add a new record to the table. It starts a for that logs their username & the Date / Time clocking them in, and asks for the Job number and fills in the customer info based on the number. I have this form and it works just fine.
They can now save and go on their way if they would like.

But I want to create an action button that would give them the option to instead click it and it would save the โ€œTime Clockโ€ form that they just filled out and then not just take them to the list of โ€œHazard Assessmentโ€ table / formโ€ฆ but actually start a new โ€œHazard Assessmentโ€ (like as if they had hit the โ€œ+โ€ to add a new record to the table). It would start the new โ€œHazard Assessmentโ€ and fill in any of the job number based on the โ€œTime Clockโ€

I am thinking itโ€™s a combination of a deeplink / LINKTOVIEW() and an action but Iโ€™m not sure. Iโ€™ve searched the forums & watched all the appsheet demo videos, but nothing seems quite right.

Any help would be appreciated,

Solved Solved
0 6 287
1 ACCEPTED SOLUTION

I would add a Yes/No column to the end of your Time Clock table, asking whether the user wants to fill out a Hazard Assessment next.

Next create a โ€œgo to another viewโ€ action, and set it as the Form Saved action for the Time Clock form.

Set a Behavior Condition in the action based on the Yes/No column.

Set the target of the action to point to the Hazard Assessment form. Use LINKTOFORM() if you need to prefill any values from the Time Clock form.

View solution in original post

6 REPLIES 6

I would add a Yes/No column to the end of your Time Clock table, asking whether the user wants to fill out a Hazard Assessment next.

Next create a โ€œgo to another viewโ€ action, and set it as the Form Saved action for the Time Clock form.

Set a Behavior Condition in the action based on the Yes/No column.

Set the target of the action to point to the Hazard Assessment form. Use LINKTOFORM() if you need to prefill any values from the Time Clock form.

Thanks I will give it a shot.

I have added the following column to the last column of the Time Clock as a Yes/No: Easy.

Added an Action to direct from the TimeClock to the โ€œHazard Assessmentโ€ on a value of โ€œTrueโ€:

Timeclock_form behavior, event action, form save set to the Action above.

โ€ฆand tested

3X_9_f_9f3a2faa3faa151acdf0de825769184d9dc6a42d.png

Not sure whatโ€™s goofy in all of this.

Nice work, almost there.

This is not a proper expression:
3X_8_f_8fdbad49a0db87d08e99c63123b7c388c0751a39.png

Either of the following would work here.

[Log HA]

[Log HA] = TRUE

Worked like a charm with 1 further small revision. The target formula needed to point at the โ€œFormโ€ for the HA.

Thanks for the guidance!

Bonus question, and answerโ€ฆ
Yes, You can link multiple actions by creating an action group

Top Labels in this Space