cformsII Support Forum
Current User: Guest Login Register
Please consider registering

Search Forums:


 






Required checkbox checked, not being accepted

Add a New Topic Reply to Post
Post
Guest

Damien

4:25 am March 7, 2008

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!


Admin

Oliver

Munich, Germany

7:11 am March 7, 2008

posts 6002

Your URL?

Guest

Stu

6:13 pm March 11, 2008

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.

Admin

Oliver

Munich, Germany

6:27 pm March 11, 2008

posts 6002

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.

Guest

Stu

6:49 pm March 11, 2008

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.

Admin

Oliver

Munich, Germany

7:08 pm March 11, 2008

posts 6002

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

Guest

Stu

7:10 pm March 11, 2008

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.

Admin

Oliver

Munich, Germany

9:38 pm March 11, 2008

posts 6002

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.


Guest

Gary

10:21 pm March 11, 2008

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

Admin

Oliver

Munich, Germany

10:32 pm March 11, 2008

posts 6002

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..

Guest

Gary

8:47 am March 12, 2008

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

Guest

Gary

8:54 am March 12, 2008

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

Guest

M.E.T

4:37 pm July 8, 2009

Hello,

i'm sorry to revive this old thread, but i'm having the same problem as damien and stu.

i created some checkboxes, set them to required, but the input is not accepted when i try to send it.

i'm using wp 2.8 and cforms 10.5.2.

it's not working, no matter if i enable ajax or disable it.

But: If i tick the checkboxes and leave all other fields blank, i only get errors for the blank fields (not for the checkboxes).

If i fill out everything correctly and tick the checkboxes, i get errors for them and the ticks disappear after submitting the form.

very strange indeed.

i didn't change any of the cforms core files, i also checked the filesize of the uploaded plugin files, they match the downloaded package.

so, now, i don't have the slightest clue.

thanks in advance for any helpful reply.

best regards, MET

Admin

Oliver

Munich, Germany

9:56 pm July 9, 2009

posts 6002

URL?

try with no other plugins turned on and the default theme. still happening?

Guest

M.E.T

9:45 am July 13, 2009

Oliver said:

URL?

try with no other plugins turned on and the default theme. still happening?


Hello Oliver,


yes, no other plugins, default theme, still happening.


BUT, i solved it, and i think it's either a bug or i'm definately too stupid.


As soon as i filled the form fields "label" and "input title", it worked.


I didn't know that you HAVE to fill those two fields, as the other fieldset contents are working without it.


Oh dear, i tell you, this took a half day to figure out with a deadline getting closer and closer…. so happy it worked out :-)


Best regards,


MET

Admin

Oliver

Munich, Germany

9:25 pm July 13, 2009

posts 6002

you shouldn't have to fill out those fields.

No Tags
Reply to Post


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

Guest Name (Required):

Guest Email (Required):

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

Smileys
lol offended sad ??? yell cry frown kiss surprised wink innocent smile oops cool
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
12 + 6
   




About the delicious:days forum

Currently Online:

106 Guests

Membership:

There are 894 Members

There have been 2250 Guests

There is 1 Admin

There are 3 Moderators




The Joy of Pickling, Revised Edition: 250 Flavor-Packed Recipes for Vegetables and More from Garden or Market

The Joy of Pickling, Revised Edition:...
- Linda Ziedrich

Gale Gand's Brunch!: 100 Fantastic Recipes for the Weekend's Best Meal

Gale Gand's Brunch!: 100 Fantastic Re...
- Gale Gand

'wichcraft: Craft a sandwich into a meal--and a meal into a sandwich

'wichcraft: Craft a sandwich into a m...
- Tom Colicchio

Alvaro's Mamma Toscana: The Authentic Tuscan Cookbook

Alvaro's Mamma Toscana: The Authentic...
- Alvaro Maccioni

Tacos: 75 Authentic and Inspired Recipes

Tacos: 75 Authentic and Inspired Recipes
- Mark Miller

Bittersweet: Lessons from My Mother's Kitchen

Bittersweet: Lessons from My Mother's...
- Matt McAllester

Takashi's Noodles

Takashi's Noodles
- Harris Salat

The Sweet Life in Paris: Delicious Adventures in the World's Most Glorious - and Perplexing - City

The Sweet Life in Paris: Delicious Ad...
- David Lebovitz

Grand Livre de Cuisine: Alain Ducasse's Desserts and Pastries

Grand Livre de Cuisine: Alain Ducasse...
- Frederic Robert

West: The Cookbook

West: The Cookbook
- Jim Tobler

Serve the People: A Stir-Fried Journey Through China

Serve the People: A Stir-Fried Journe...
- Jen Lin-Liu

Endangered Recipes: Too Good to Be Forgotten

Endangered Recipes: Too Good to Be Fo...
- Lari Robling

Mrs. Rowe's Little Book of Southern Pies

Mrs. Rowe's Little Book of Southern Pies
- Mrs. Rowe's Restaurant and Bakery

Peri-Peri: The Contrasts & Contradictions of the African Bird's Eye Chilli

Peri-Peri: The Contrasts & Contradict...
-

I Loved, I Lost, I Made Spaghetti

I Loved, I Lost, I Made Spaghetti
- Giulia Melucci