Jump to content
Sign in to follow this  
bartoncollege

cforms, select boxes, and unwanted breaks

Recommended Posts

bartoncollege

I have disabled cforms styling as Andrew suggested in other cforms-related posts, but the select box is still wrapping the "required" text, and an HTML break is being added after the label. I noticed that span tags that wrap "required" are themselves inside paragraph tags. This is not the case with other fields. I don't know if Pagelines is adding the break and the paragraph or if it's cforms. Can someone please help me? Thanks.

Share this post


Link to post
Share on other sites
catrina

I looked at your code and it is cForms generating those span tags. There is no way to actually get rid of them, unless you go into the cForms code and mess around with it. (This is usually not recommended, but if you're only going to take out tags, I don't think there should be a problem)


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bartoncollege

Well, I want to get rid of the extraneous break after the label and eliminate the paragraph tags. I want to keep the span. I guess I could try styling that specific paragraph, but I don't know what to do with the break. Since it sounds like its a cforms issue, I should probably contact Oliver at deliciousdays. Any additional ideas? And, thanks for your quick response and your help.

Share this post


Link to post
Share on other sites
catrina

Sorry, I meant the paragraph tags (not the span tags). You should probably contact Oliver (perhaps he gets the same question from time to time).


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bartoncollege

I contact Oliver at deliciousdays.com about the issue with cforms. Here's his reply:

Those BR or even P tags are being inserted by a WP filter, typically triggered by your custom WP theme after cforms has inserted the form content. I'll release an updated version soon that will put cforms hopefully at the end of the line to avoid those extra tags in the html.
Hopefully, his fix will be out soon.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×