<p>Solution for Freeform 3:</p>

<p>Preventing <strong>duplicated field id</strong>:
<a href="https://docs.solspace.com/craft/freeform/v3/template-functions/freeform.form.html#param-fieldidprefix" rel="nofollow noreferrer">Set a custom field id prefix.</a> Using the form handle might be a good id, as long as you're not using the same form twice on the same page.</p>

<p>Preventing <strong>duplicated form id</strong>:
Manually adjust the <a href="https://docs.solspace.com/craft/freeform/v3/template-functions/freeform.form.html#parameters" rel="nofollow noreferrer">form id parameter</a> to something unique.</p>

CC BY-SA 4.0
2020-04-08T20:55:34.920Z
Thanks, the field ID prefix looks like it should do the trick. I didn't realise there was the option.
Moucky
CC BY-SA 4.0
2020-03-31T06:54:44.413Z
2020-03-31T06:54:44.413Z
Bert H
<p>Apologies if this has already been brought up but shouldn't each input have a unique id? I assumed Freeform would prepend the input ids with the form id or something but it seems it just duplicates ids everywhere. Doesn't seem great for what is a pretty expensive plugin. </p>

CC BY-SA 4.0
2020-03-03T10:35:44.853Z
Do not hesitate to contact their [support](https://docs.solspace.com/craft/freeform/v3/support.html). They are very pro-active, and open for feature-fix like that.
Romain P.
<plugin-freeform><solspace><freeform>
Unique input IDs in Freeform
# Unique input IDs in Freeform

(Asked by: username_0 on 2020-03-03)

Apologies if this has already been brought up but shouldn't each input have a unique id? I assumed Freeform would prepend the input ids with the form id or something but it seems it just duplicates ids everywhere. Doesn't seem great for what is a pretty expensive plugin.

**Tags:** plugin-freeform, solspace, freeform

> **Comments:**
> **username_1**: Do not hesitate to contact their [support](https://docs.solspace.com/craft/freeform/v3/support.html). They are very pro-active, and open for feature-fix like that.  

---

## 1 answers

### Answer by username_2 on 2020-03-31. Score: 2 | Accepted answer

Solution for Freeform 3:

Preventing **duplicated field id**:
[Set a custom field id prefix.](https://docs.solspace.com/craft/freeform/v3/template-functions/freeform.form.html#param-fieldidprefix) Using the form handle might be a good id, as long as you're not using the same form twice on the same page.

Preventing **duplicated form id**:
Manually adjust the [form id parameter](https://docs.solspace.com/craft/freeform/v3/template-functions/freeform.form.html#parameters) to something unique.

> **Comments:**
> **username_0**: Thanks, the field ID prefix looks like it should do the trick. I didn't realise there was the option.  

---

