Hello GreyHead et al,
Was there during Forms v5 time and back now and trying v6...
Am building a form in which I added 2 radiobuttons without selecting a default value.
Turns out that when I test the form, whatever radiobutton I click stays selected. So, in this particular case, the 2 buttons I use get selected...
Have I suddenly become unfamiliar with Chronoforms or is it an "uncommented feature" :-) ?
@GreyHead: Still in Brittany?
Cheers
Philippe
Hi Philippe,
Greetings from sunny Finistere.
Not sure I understand your question about the radio buttons. Is the problem that you can't 'unselect' the group?
I suspect that the ReCaptcha problem may be because file_get_contents() is not enabled on the site?
Bob
Hi Bob,
It’s easy enough: I have set a radiobuttons group with, say, 2 buttons: when I test the form, I click option1 and set it, then I click option2 and set it: Both buttons get set. I would expect option 1 to be unselected but it’s not. What could I possibly mess up?
As far as file_get_contents, I’ll have to check with my hosting company I guess.
Cheers
Philippe
Hi Philippe,
When I test I can only select one radio button in the group. Please post or PM me a link to the form so I can take a quick look.
You can see the file_get_contents() setting on the Site Admin > System Info > PHP Info page.
Bob
Hi Bob,
I'm sorry: preview is here:
https://clubchevry2.com/sondage
as far as file_get_contents it's not visible anywhere...
However, when I run the command https://www.google.com/recaptcha/api/siteverify?secret=xxxxxxxx, everything works fine. Recaptcha is verified....So the question gets back to why does the command not work from the google_no_captcha_output.php file...
I thought that file_get_contents was standard php.....
Thx
Philippe
You've put the radio options in as separate fields.
My bad I was looking at the html wrong. Have you given the field a name?
Nope...Will try with one...
Cool, man!
This fixes it!
Surprising that I have to pick a name but as long as it works, that's all I need right?🙂
Thx much!
Philippe