Validation rule - Validate against a connected field using a pipe
In this example, we are creating a validation rule with a pipe to prevent users from using more credits than they have available.
- Not yet re-checked
- Classic builder
Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.
In this example, we are creating a validation rule with a pipe to prevent users from using more credits than they have available.
Step 1
Follow the steps in the image below to create a new pipe with the following API call.
https://api.tadabase.io/api/v1/data-tables/TABLE_ID/records/{recordId}
Step 2
In the parameter tab of your pipe. Set a parameter for record ID.
Step 3
Within the pipe's headers tab, add each of the following as a key. And then, fill the value with your API value.
X-Tadabase-App-idX-Tadabase-App-KeyX-Tadabase-App-Secret
Step 4
In the pipe response tab, you will need to add the information from the field you wish to use for your validation. See the image below for where to find this information.
Step 5
Add the pipe to a validation rule within your form for purchases with this setup.
Original Community Post:
Was this page helpful?
Something wrong or missing on this page? Tell us.