cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Required checkbox checked, not being accepted

Add a New Topic Reply to Post
Post

Damien - Guest

4:25 am - March 7, 2008

1

Please replace the ??? with your data!

  • Your URL: http://???
  • The browser used: FF & IE6
  • cforms version: 7.53
  • Your Wordpress version: 2.3.3

I create a form and included a checkbox for confirming that the submitter has accepted terms and conditions.

When the checkbox is checked and the form submitted, I get an error message saying the checkbox must be checked.

I tested the online booking form preset, which has the same terms and conditions fields and I get the same error.

Please help - this is the only thing stopping the site from going live.

Thanks!


Oliver - Admin

7:11 am - March 7, 2008

posts 3912

2

Your URL?

Stu - Guest

6:13 pm - March 11, 2008

3

Hi Oliver


I'm having the same trouble as Damien.


URL 'test' pages;

http://www.fincadelrio.co.uk/features

http://www.fincadelrio.co.uk/reservations


Wordpress: 2.3.3

cforms II: 7.5.3

php: 4.3.2

Browsers; firefox, safari, explorer

plugins in use;

    Add Meta Tags 1.6

    Akismet 2.1.4

    cformsII 7.53

    Current-Page Bugfix 1.2.1

    Exclude Pages from Navigation 1.2

    Find Us 1.7

    NextGEN Gallery 0.83

    NextGEN Gallery Widget 1.20

    Wordpress Google Calendar 0.8

    wp-forecast 1.4

    WP Super Edit 1.5


If I add any of the default form presets or make my own forms and try to use/add a checkbox that's 'required'; the form can't be submitted when the user 'checks' the box. For some reason the error checking doesn't recognise the 'required checkbox'.

I've tried unistalling some of the plugins, adding a completely new form to a new/different page and re-nstalling cforms II to no avail. I've also tried changing stylesheets etc.

I can only think this is a php error checking issue? Not sure.


Hope you can help.

Stu.

Oliver - Admin

6:27 pm - March 11, 2008

posts 3912

4

Thanks for the heads up, I'll take look at it asap.  

PS: I noticed that you actually modified the source code, bear in mind that this can cause the ajax feature to not work and possibly breaks other functions as well.

Stu - Guest

6:49 pm - March 11, 2008

5

Hi Oliver

I didn't as far as I'm aware modify the cforms source code? I modified the wideform.css stylesheet, that's all.


I've modified the template files for the Bluebird template I'm using and the Wordpress files for calling in sidebars, nothing more?


Stu.

Oliver - Admin

7:08 pm - March 11, 2008

posts 3912

6

Hi Stu,

No worries, when I had looked at the HTML code earlier I must have missed something. So it seems to  work alright in Ajax mode, but not in non-Ajax - I know where to look at  and will follow-up shortly.

Thanks

Stu - Guest

7:10 pm - March 11, 2008

7

Solved.


Looks like the file 'cforms.php' was modified locally, still don't know how? I unzipped a new copy of cforms II and replaced it on the server. Works OK now.


Thanks for the quick reply.


Stu.

Oliver - Admin

9:38 pm - March 11, 2008

posts 3912

8

I have thank you, since there is indeed a little bug (in non ajax-mode) which I just fixed for the 8.0 release, which in turn will be WP2.5 compliant.


Gary - Guest

10:21 pm - March 11, 2008

9

Hi Oliver,

Sorry for replying to someone else's topic but I have looked and looked and cannot see where to register on your forum or how to start a new topic so this is a last resort!

I've just started using cform and it's great. Only thing is I got a message from a client who said the form 'wasn't working'.

A bit of investigation and I found that she meant that in IE 7 the dark-rounded.css was not loading the black bg color and therefore only the rounded img for top and bottom were showing. As the text is white, this means that there is no text visible to the user.

In firefox there is no issue (which is why I hadn't noticed)

So i tested in Windows with IE 7 (version 7.0.5730.11) and sure enough the client was right.

It seems to be an IE issue as the css works fine in Firefox.

None of the graphical css styles that come with cForm seem to function in IE 7 although all work fine in Firefox!

Also strange is that in IE 7 if i log in to admin and choose the style setting under cForm it will display the dark-rounded.css form correctly, but not once loaded in a page.

I am using cutline theme and Wordpress 2.3.2

Any ideas?

Here is the URL
http://www.cashformyhouse.co.uk/index.php/sell-and-rent-back/

As far as am aware am using latest version of cForm 7.53

All help appreciated,

Thanks Gary

Oliver - Admin

10:32 pm - March 11, 2008

posts 3912

10

It's a public forum Gary, you should be able to post new topics by clicking Add
a New Topic
. It should be at the top of each forum category.

You're right, I must have missed to add the IE7 browser hack. Simply go to the bottom of the CSS file and add:

*+html ol.cf-ol,
*+html ol.cf-ol li,
*+html span.reqtxt,
*+html span.emailreqtxt {
    display: inline-block;  /*for ie7*/
}

Give that a try..

Gary - Guest

8:47 am - March 12, 2008

11

Thanks Oliver that works!


And I can now see the Add a New Topic - I think I was zombied out last night from staring at code for hours.

Really appreciate this plug in and your fast support and am off the the 'Donate' button.

Thanks

gary

Gary - Guest

8:54 am - March 12, 2008

12

I've just seen where your 'donate' button links to. I use Amazon UK, so please PM me your street address and I will send you Sergio Mendes Fool on the Hill because it's an album that lead me to years living in brazil and re-issuing rare brazilian lps, and one that you MUST have!

All the best

gary

Reply to Post


Reply to Topic: Required checkbox checked, not being accepted
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
9 + 9
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search