Error while submitting the Record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 01:48 AM
Hi,
While Submitting Record Producer form in Native UI I was getting the following error.
"The g_form.submit function has no meaning on a catlog item. Perhaps you mean g_form.addToCart() or g_form.orderNow() instead"
Please help me in fixing the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 02:01 AM - edited 08-01-2023 02:01 AM
@Prathyusha G
Have you used g_form.submit in any of the onSubmit client scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 02:08 AM
Yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 02:30 AM
@Prathyusha G ,
Try this
g_form.getControl('order_now_button').click()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 02:34 AM
Hi,
Tried this "g_form.getControl('order_now_button').click()", Now not getting error message but form is not submitting.