WAIT: How to change Form ID

I created form in template and then I inserted it to 10 different pages but all of them have same ID so in form submission they are under one ID. How do I change that ID on every side to different one? Thank you for your help!

1 Like

Have this same issue… @aslotta any ideas dude?

?

It then renames every form ID the same. Even if I add a class, it adds a class also to every form element, due to them being copied (I think OP has the same instance).

Given you can’t ā€˜save’ forms in Bricks as far as I know, the only way to use them again is copy and paste.

Templates or saving won’t help either, as you still end up editing the form itself at some point.

Hi guys,

If you use the template/shortcode element to add the form to different pages, the form ID stays the same. If you copy the form manually (right click Ā» copy) and paste it manually on the corresponding pages (right click Ā» paste), it should actually work, because the form gets a new ID

Could it be that you have duplicated the template or the page that contains the form either with a ā€œduplicationā€ plugin, or saved it with a right-click Ā» save as template?

If so, this is a bug we are already working on. The problem is described here using popup templates: WIP: Links & Inputs broken in popup, CSS overridden out of nowhere - #4 by mr.matt.eastwood

Best regards,
timmse

Hi Stefan. For me it was just a copy and paste job within Bricks. Copy the form, paste on another page, and I had the above (changing ID’s etc. syncs them up.)

Annoyingly there’s no other way I’ve found when making forms in Bricks to create a new form based on another without setting up all the fields and options again - so I used this and it then seemed to sync the two up.

I’m using WSform for most of my forms now so it’s less of an issue, but I do like the interface of Bricks forms and for basic sites it’s still handy.