Logo
Anvil API Documentation

Pass hidden data to submission

POST {{url}}

This forgeSubmit call uses the exact same Workflow and Forge we've been using in this collection, the IRS W-9. There is already some field logic applied to the first page with form fields. There are a total of 3 fields on the page, but only 1 will always be shown. At most 2 fields will be shown to the user, all based on visibility logic. Here are the 3 fields and the logic associated:

  1. Federal Tax Classification, with id federalTaxClassification: this field has no visibility logic, and will always be shown.
  2. LLC Tax Classification with id `llcTaxClassification`: this field has logic applied. It will ONLY be shown when the field with id federalTaxClassification has the value of limitedLiabilityCompany.
  3. Other Please Describe, with id otherDescription: this field has logic applied. It will ONLY be shown when the field with id federalTaxClassification has the value of other.

In this API call, we will submit data to all 3 fields, when a user from the UI would not be able to submit all 3 as we are doing here.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'url'

ENDPOINTS