cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
populating comment doesn't work while database OK
July 24, 2009
9:39 pm
Guest

Please replace the ??? with your data!


Hi,

First of all, thank you for this great plugin that I'm using both for contacts and comments on my website (still in dev, sorry:-). I'm contacting you today about a problem I have in populating comments with cforms. To understand perfectly how it was working, I reproduced your example your tutorial with "my custom field" and my "custom checkbox". Here comes the problem: checking or unchecking the "custom checkbox" alyays gives the same result "yes" in the comment. Meanwhile the mail I receive and the cform database are giving the good result.

Would you have an idea of what I'm doing wrong?

I'd have a second question. I'm intenting to use cforms to rate the comment with a system of radio button, for instance "quality" : low / medium / good

In this case, what would be the syntax of

<?php echo ' quality: '.($xtra['My custom radiobutton']<>XXXXXXXXXXXXXXX>

Thanks for your help, long life to cforms,

Kind regards

July 25, 2009
8:53 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

jedi said:

Please replace the ??? with your data!


Hi,

First of all, thank you for this great plugin that I'm using both for contacts and comments on my website (still in dev, sorry:-). I'm contacting you today about a problem I have in populating comments with cforms. To understand perfectly how it was working, I reproduced your example your tutorial with "my custom field" and my "custom checkbox". Here comes the problem: checking or unchecking the "custom checkbox" alyays gives the same result "yes" in the comment. Meanwhile the mail I receive and the cform database are giving the good result.

if the admin email contains the right value and tracked right, then it is working, no?

Would you have an idea of what I'm doing wrong?

I'd have a second question. I'm intenting to use cforms to rate the comment with a system of radio button, for instance "quality" : low / medium / good

In this case, what would be the syntax of

<?php echo ' quality: '.($xtra['My custom radiobutton']<>XXXXXXXXXXXXXXX>

I guess that could work…(just follow the tuturoial step by step)

Thanks for your help, long life to cforms,

Kind regards

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
26 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: 3708

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5307

Posts: 18665

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)