Error while submitting the Record Producer

Prathyusha G
Tera Contributor

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

15 REPLIES 15

Sonam Tiwari
Tera Guru

@Prathyusha G 

Have you used g_form.submit in any of the onSubmit client scripts?

Yes

@Prathyusha G ,
Try this

g_form.getControl('order_now_button').click()

Hi,

Tried this "g_form.getControl('order_now_button').click()", Now not getting error message but form is not submitting.