Topic RSS
Related Topics
3:55 pm
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.
4:05 pm
March 6, 2005
OfflineThat's a known limitation and you'd indeed have to do a search/replace-all for the old/new ID.
10:32 am
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.
10:02 am
March 6, 2005
Offlinefor one, it's more difficult than you think, due to the way form IDs are generated and handled within cforms. secondly and more importantly, it's a matter of time.
time that I don't have currently for unpaid projects. i'm sure you'd agree.
Most Users Ever Online: 959
Currently Online:
76 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3549
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5158
Posts: 18388
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote











