Hi. I am using cforms v14.5. I have many forms and for one of those forms I added my custom CSS-styles to cform's theme .css-file. For this form I also styled some <li>s — giving them some paddings and margins —, using their ids, which are assigned by cforms. For example, one id would be "li-8-3", meaning the 3rd <li> in this form, which currently is the 8th form cforms knows of. This works just fine.
My problem occurs when an older form is deleted (Which happens. We have many forms, some get outdated). Then, my form is the 7th form cforms knows of, and the id of the <li> is now "li-7-3", which of course breaks my custom CSS-styling.
Now my question: How can I avoid that? Is there a way — in cforms — to assign truly stable ids or classes? I know that this is possible for <select>s and <input>s, using the syntax "[id:my_custom_id]", but that doesn't affect <li>s.
Thanks for any help.
March 6, 2005
Will there be a fix in the future? It can not be that hard to implement a form element ID as style class that is unique for this form. Thanks in advance.
March 6, 2005
how much of a donation and time to help with the code to get rid of some of those limitations? iLove this plug-in and will DIE by it!
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3748
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)