• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: non-unique id's

non-unique id's 5 years 4 months ago #39700

  • goslingcools
  • goslingcools's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
Hi,

Since the beginning of RSForm! Pro we have the issue of non-unique id's

The standard CSS ID is always: userForm
So multiple forms on a page have non-unique id's

Multiple forms with the sane fieldname generate non-unique id's

My suggestions:

Make the standard CSS ID : userForm[FormId]
ex. userForm3

prepend the FormId to each field
ex. Name => id="Form3_Name"
ex. Email => id="Form3_Email"

Force fieldnames to have no spaces, only allow underscores (so you always have complient ID names)

Since Chrome Version 79 the console overloads with warning messages like:
[DOM] Found 2 elements with non-unique id #Email: (More info: goo.gl/9p2vKq) input#Email.rsform-input-box.form-control input#Email.rsform-input-box.form-control

Regards,

Gosling
Last Edit: 5 years 4 months ago by goslingcools.
The administrator has disabled public write access.

non-unique id's 4 years 1 month ago #41023

  • tk4
  • tk4's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Was there a solution to this problem?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!