Link to home
Create AccountLog in
Avatar of EMB01
EMB01Flag for United States of America

asked on

WordPress cforms error messages not displaying

Hi, I'm new to wordpress and I was wondering why the error messages don't work for the cform of this site:
http://tinyurl.com/2aqdd2d
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of EMB01

ASKER

Certainly, and from what I gather is that it works with other themes, just not this (probably custom) theme...
ss010311.jpg
Okay, when I look at the form with Firebug I see the following:

Unknown pseudo-class or pseudo-element 'has'.  Malformed simple selector as negation pseudo-class argument 'has'.
http://americangymnasticsacademy.com/wp/online-registration#usermessagea
Line 0

But I have no idea where that's coming from.  Looking at the page as a whole, it might be a jquery conflict since both cforms and the theme are using it.

If you switch the style for the form to something else, do you have the same problems?  Are you married to cforms or is Gravity Forms an option?
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of EMB01

ASKER

@jason1178:

I don't want to redo the form in another plugin, I would like to make this work.  Apparantly, it works with other themes.  Maybe we can find out what styles would be conflicting?

@Dzynit:

The box already is unchecked.  Do you mean you want me to check it, update, uncheck it, then update again?
Just as long as you've tested both with it checked and unchecked. If it's the jquery or ajax, that usually resolves it at least for troubleshooting.

It wouldn't be the styling that's causing it. If it does work when you switch themes, check this theme's header.php and see if there are javascript files being included. If there is, try removing them and test. (Just keep a backup copy of your header.php.)

If that allows the form to work, you'll need to be sure of which lines in the theme conflicted and see if anything in your theme does not work without them.
Avatar of EMB01

ASKER

When I check the Ajax Enabled box and hit update, the page reloads but the box isn't checked...  
I think it sounds more like a plugin conflict. Try deactivating all but cforms and first test to see if the ajax checkbox will stay checked.

If it still will not, you might just need to upload a fresh copy of cforms. Maybe there is a missing or corrupted file from when originally uploaded.
Avatar of EMB01

ASKER

I activated and deactivated it but it doesn't work, still.  Do you mean I need to reinstall/ overwrite cforms?  I'm new to wordpress, so could you give me some instructions?  Thanks.
Avatar of EMB01

ASKER

P.S.  I just learned that it's not just the styles that don't work, it's also the functions itself.  On other themes, the emails get sent on form completion, but with this theme no emails get sent.  Thanks in advance for your support.
Dzynit asked you to disable all other plugins except cforms.  Have you done that?
Avatar of EMB01

ASKER

Yes, nothing is working.  The thing here is that it works with other themes, just not this one.  What's the difference?  The theme is:
Unite 1.1 by Parallelus (Andy Wilkerson)
By quick glance, it uses alot of jquery and functions. So one of the functions which should be in functions.php of the theme are conflicting.

Best suggestion at this point is to contact the theme maker through the first section "about the theme" here:
http://www.soundynamik.com/theme-unit/readme.html

If it's a conflict between the theme and cforms, likely the programmer will try to get it worked out.
Avatar of EMB01

ASKER

Guys, I really don't have time to attempt to contact some guy who may never get back to me.  What are some other options?  Someone mentioned "Gravity Forms," how do I get that?
gravityforms.com
You can also try phpformgen.com
Its a free wizard style form maker with save to email, file, even database....
Avatar of EMB01

ASKER

Frankly, I'm a little surprised that the answer to this question is "use something else."  Is there seriously nothing I can try to get this working?  Pretend it was you in my situation, what's the first thing you would check?
Frankly, in your situation I would not have wasted a day trying to figure it out :)

What happens often in WordPress is advanced themes use the same JavaScript or php function names as a plugin does.  This conflict causes either the theme or the plugin to not work properly and clearly this is what is happening to you. Unfortunately there is no magic bullet troubleshooting technique to figure out exactly where in the various files the conflict is happening.  So a programmer would have to go deep intothe code and start figuring it out and none of us are going to do that.  The people best situated to do it are the plugin and theme developers but, as you say, they may not respond.  

So you are left with the next logical choice to quickly resolve the issue which is switching to a different plugin that uses a different validation routine.  This is probably easier than switching the theme but if I had to guess I would say that the theme is the source of the problem.   Cforms is generally stable and problem free.  

We all recommend Gravity Forms because while it is not free, it is a great plugin and is well supported by the dev team. I prefer it to cforms for overall functionality and interface.    
Avatar of EMB01

ASKER

Thanks for trying.