Custom Form Function to Fetch from API

Hi all,

I am super new to the Bricks community but decided to try it out to build out a client site. I come from the world of Webflow. I used to do more coding but realized how rusty I am. I think using a page builder sort of throws me off too because there’s so much I can do within the interface but some I really can’t figure out. But essentially - what I’m building is a form.

I am building a form to check the for an address the user enters to see if they are eligible to enroll in a program. All that info currently lives in an API.

Step 1: User enters address into form. Hits submit. Checks eligibility with API. API is important here as we’re checking the form input against it.

Step 2: If the address is ‘eligible’ - this will show in the API with a key/value of eligible: yes, then they will submit another form (this is the easy part with the built-in form with Bricks).

Is there a way to accomplish this at all? I know I’m making it sound really complicated (perhaps not) but any pointers would be helpful!