Crow Canyon Software Forum
Lookup value in a condition
Quote from skigeek on October 23, 2023, 7:27 pmI have 2 tables
1. Trips
2. Travel
It is a 1 trip to many travels. If I have a lookup column that is in the travel list that refers back to the trips list, and it is based on ID. When I am wanting to do some permissions on the travel form which references a condition on the trips form (Status). How do i put that in a condition?TripsLookup is the lookup back to trips, but under TripsLookup.Status is what I want to compare against. Thanks
If you look at the screen shot, I want to put TripsLookup.Stats = "Closed"
I have 2 tables
1. Trips
2. Travel
It is a 1 trip to many travels. If I have a lookup column that is in the travel list that refers back to the trips list, and it is based on ID. When I am wanting to do some permissions on the travel form which references a condition on the trips form (Status). How do i put that in a condition?
TripsLookup is the lookup back to trips, but under TripsLookup.Status is what I want to compare against. Thanks
If you look at the screen shot, I want to put TripsLookup.Stats = "Closed"
Uploaded files:Quote from supportTeam on October 26, 2023, 11:01 amHi,
We can use form event actions in NITRO forms to achieve this. Please create a column 'Trips Status' in Travels list and configure the form event actions as shown below:
- Configure form event action on load
- Configure fetch item action to get the 'Trip' item.
- Configure update item action to update the Status of Trip in 'Travels' list
- Configure permissions based on the 'Trips Status' column in Travels list.
Hi,
We can use form event actions in NITRO forms to achieve this. Please create a column 'Trips Status' in Travels list and configure the form event actions as shown below:
- Configure form event action on load
- Configure fetch item action to get the 'Trip' item.
- Configure update item action to update the Status of Trip in 'Travels' list
- Configure permissions based on the 'Trips Status' column in Travels list.
Uploaded files:
Quote from skigeek on November 2, 2023, 5:40 pmAlmost working... The one question I have is it works in edit but it does not work in display. I am I doing something incorrect? The first capture is the display, the second is the edit and the third are the parameters that I am using. Thanks
Almost working... The one question I have is it works in edit but it does not work in display. I am I doing something incorrect? The first capture is the display, the second is the edit and the third are the parameters that I am using. Thanks
Uploaded files:
Quote from supportTeam on November 16, 2023, 5:46 pmHi @skigeek,
Please configure a custom action to update ‘Trip Status’ column in item display form and trigger the custom action from NITRO Forms. Following are the steps:
- Navigate to Travels list > Custom Actions (from List ribbon) > Configure a new custom action > Add ‘Query List’ action to query Trips list.
- Add ‘Update List Item’ action to update ‘Trip Status’ column as shown in the screenshot > Publish the custom action.
- Navigate to NITRO Forms designer for Travels list > Expand ‘Actions’ section from left-hand panel > Drag and drop ‘Custom Action’ on to the form > Select the custom action configured in above steps > Apply button settings > Publish the NITRO Forms.
Please note that custom action button is visible only in NITRO display form. Click this button to update ‘Trip Status’ column in NITRO display form.
Hi @skigeek,
Please configure a custom action to update ‘Trip Status’ column in item display form and trigger the custom action from NITRO Forms. Following are the steps:
- Navigate to Travels list > Custom Actions (from List ribbon) > Configure a new custom action > Add ‘Query List’ action to query Trips list.
- Add ‘Update List Item’ action to update ‘Trip Status’ column as shown in the screenshot > Publish the custom action.
- Navigate to NITRO Forms designer for Travels list > Expand ‘Actions’ section from left-hand panel > Drag and drop ‘Custom Action’ on to the form > Select the custom action configured in above steps > Apply button settings > Publish the NITRO Forms.
Please note that custom action button is visible only in NITRO display form. Click this button to update ‘Trip Status’ column in NITRO display form.
Uploaded files: