Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @fantou,

    There aren’t any settings in the plugin side other than using the methods which you have mentioned:
    https://wpmudev.com/docs/api-plugin-development/forminator-api-docs/#method-get_form_field

    However, the get_form_field will only retrieve a fields and not its data. You’ll have to use get_entries to grab the submitted data in Forminator:
    https://wpmudev.com/docs/api-plugin-development/forminator-api-docs/#method-get_entries

    However, what you have mentioned would require custom coding. Forminator can be used to create the address input field and retrieve the data, but the rest of your scenario, ie sending the address to an external app and displaying the results directly on your site, requires custom development.

    You could explore the webhook if you are looking to extend it further:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#webhook

    Regards,

    Nithin

    Thread Starter Fantou

    (@fantou)

    Hi Nithin, thanks for your valuables informations, it helps !

    Indeed the webhook seems the good solution. I will just have to send the information to the app with the webhook, isn’t it ?

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @fantou

    Hope you’re doing well today!

    I will just have to send the information to the app with the webhook, isn’t it ?

    Indeed, the Webhook should carry the necessary data that you can fetch on your app, it will act as a link between your form and the app.

    Hope the information helps.

    Kind Regards,
    Saurabh

    Thread Starter Fantou

    (@fantou)

    Hello Saurabh

    Thanks for your answer, it helps indeed ! One more thing : I will have to set a “redirection page’s link” when submitting the form for displaying the app’s page with the information send by the webhook, isn’t it ?

    Have a nice day !

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @fantou,

     I will have to set a “redirection page’s link” when submitting the form for displaying the app’s page with the information send by the webhook, isn’t it ?

    Is it after the form submission? The only feature the form supports out of the box for redirection would be the “After Submission” settings under the “Behavior” tab as mentioned here:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#after-submission-behavior

    Are you referring to the above aspect?

    Regards,
    Nithin

    Thread Starter Fantou

    (@fantou)

    Hi @wpmudevsupport11 ,

    Thanks for your answer. Yes this is this setting. But I think I will have to add a parameter to the URL for showing the app with the results. And it’s cool because Forminator has already thought about it ! ;p

    Thanks for your help ! Have a nice day !

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Question about API option’ is closed to new replies.