Hello @sanket.pokale,
To configure your contact form’s API URL dynamically within Builder, you can leverage Builder’s custom fields. Here’s how you can do it:
- Add a Custom Field to the Model:
- Go to your Models.
- Select the model for which you want to add the custom field (e.g., Contact Form).
- Click “Edit Fields”.
- Click “+ New Field”.
- Name the field (e.g.,
apiEndpoint
). - Set the field type to
URL
. - Save the model.
- Use the Custom Field in Your Form Code: You can fetch the value of the custom field in your form submission code from context object, to know more you can refer to the following forum post Is it possible to access Page Fields in data bindings? - #4 by nicke920
Hope this helps!
Thanks,