How to change one of two contact form success messsages?

Highlighted
New Member
1 0 0

My website has two contact forms and I want to give a discount code in the success message when people fill in one, but just say thank you for contacting in the other one, how do I do this?

Thanks in advance.

0 Likes
Explorer
44 9 10

Hi @KETSIA 

 

You will need to save a cookie so that you know which form you submitted and with javascript to get that cookie and target the proper form.

 

It's stupid but there is no love for forms in Shopify they are highly discriminated.  :)

0 Likes