We are using [url removed, login to view] for a project which is an online database systems that gives forms/views that we can design. To add functionality we have to use js that listens to various events in the knack forms and performs the actions we want to perform on those events.
We need a js code to perform a simple task as under:
1. Listen to the form submitted event on view_35
2. On form submit we want to call an external api via this https:
[url removed, login to view]((PHONE NUMBER - TO BE TAKEN FROM FIELD_23 OF THE FORM SUBMITTED))&sender=asdf&msgdata=Dear ((FIELD-2)) thank you for your interest in ((FIELD_12)) We will get back to you shortly&response_type=json
Note that we want to substitute whatever we have written within double brackets (( )) with the contents of the fields of the form that was just submitted.
If you think form submit is not the right event we could use the record create event. See full docs here for events and variables etc:
[url removed, login to view]
We need many such tasks and snippets regularly and this is just one of them.
4 freelancers are bidding on average $30 for this job