I'd like to know if is possible make some checkbox pre-checked when the form appears .
Maybe I should add custom code in "On Submit code - before sending email"?Which code?
Maybe I should add custom code in "On Submit code - before sending email"?Which code?
Hi raygold,
Edit the Form HTML in the Form Code tab and add checked="checked" to the input that you want to have checked.
Bob
Edit the Form HTML in the Form Code tab and add checked="checked" to the input that you want to have checked.
Bob
Thank you Bob,Can I do the same with textbox or radio button?
Which code should I add?
Which code should I add?
Hi raygold ,
A radio button group is the same; use selected="selected" for a drop-down.
I don't think that it means anything to have a text input pre-selected. You can set a value with value="some text" though.
Bob
A radio button group is the same; use selected="selected" for a drop-down.
I don't think that it means anything to have a text input pre-selected. You can set a value with value="some text" though.
Bob
Thank you again,and thanks for Chronoforms that's one of the most powerful joomla components.
Edit the Form HTML in the Form Code tab and add checked="checked" to the input that you want to have checked.
I want to see pre-checked values in my form in CheckBox Group element ....
When I do this, then save - all OK. But if I want to edit my form again (I do this via Wizard in Edvanced mode) - this code disappeared 😟
I'm tried to add value in field Checked value, but this don't work. 😫
That meens that I need to add my code every time when edit my form ??? :?
Hi RoJa,
Adding the value in Checked Value should work - it does need to be the same whatever show in the value='????' part of the Form HTML
Bob
Adding the value in Checked Value should work - it does need to be the same whatever show in the value='????' part of the Form HTML
Bob
I want to pre-check value in Checkbox Group
Where I'm wrong ?
[attachment=1]checkbox_group_01.jpg[/attachment]
Result:
[attachment=0]checkbox_group_02.jpg[/attachment]
Where I'm wrong ?
[attachment=1]checkbox_group_01.jpg[/attachment]
Result:
[attachment=0]checkbox_group_02.jpg[/attachment]
No effect ... 😟
[attachment=1]checkbox_group_03.jpg[/attachment]
Form :
[attachment=0]checkbox_group_04.jpg[/attachment]
[attachment=1]checkbox_group_03.jpg[/attachment]
Form :
[attachment=0]checkbox_group_04.jpg[/attachment]
Hi RoJa,
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
All this - for a corporative site, so I can't do this ... (I hope you understand me, why) 8)
Tell me what I need to do - I'll do this.
Tell me what I need to do - I'll do this.
Hi RoJa,
It's working OK here.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
It's working OK here.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
GreyHead, did you find a solution of this problem? I need to move on, but I cant ... HELP! 😫
Hi RoJa,
If I restore your form into my site then there is no checked value. But as soon as I re-save it in the admin area and re-load the form page the checked value shows correctly :-(
Please check that you have the latest release RC1.9 and that there are no extra spaces in the Checked value box.
I don't know what else to suggest :-(
Bob
If I restore your form into my site then there is no checked value. But as soon as I re-save it in the admin area and re-load the form page the checked value shows correctly :-(
Please check that you have the latest release RC1.9 and that there are no extra spaces in the Checked value box.
I don't know what else to suggest :-(
Bob
This topic is locked and no more replies can be posted.