-
nraupachAsked on February 23, 2021 at 2:51 PM
In short, is it possible to retrieve the JotForm form name in a JotForm custom widget?
We are attempting to create custom JotForm widget to perform an action when a form is submitted. However, we need the form name that is being submitted.
Background:
It appears the form name does exist in the form page under the meta tag: <meta property="og:title" content="The JotForm Form Name">. Since the widget is rendered in an iframe, we cannot read the parent DOM directly.
We have successfully created widgets following these steps: https://www.jotform.com/developers/widgets/#overview and can see the JavaScript class JFCustomWidget and JFCustomWidget utils. Is it possible to use these JS classes to read the form name?
Any assistance is appreciated.
-
Sonnyfer JotForm SupportReplied on February 23, 2021 at 8:50 PM
Hi there - I'm sorry but I think the best team to answer your query is our API team. Would it be possible for you to shoot them an email at api@jotform.com? They're the ones experts in widget creations / APIs.