Hi,
I'm new on Chronoforms. I searched for this topic, but i can't get an answer.
So, what is my question:
I have a form with 5 radio Buttons.
I want to check the dependent radio button from the referer link like http://domain/contact?radio=2.
This should check the radio button 2.
Is it possible ? How can i do this ?
greetings
Flip
I'm new on Chronoforms. I searched for this topic, but i can't get an answer.
So, what is my question:
I have a form with 5 radio Buttons.
I want to check the dependent radio button from the referer link like http://domain/contact?radio=2.
This should check the radio button 2.
Is it possible ? How can i do this ?
greetings
Flip
Hi Flip,
Is this ChronoForms v4? Then provided that the name of the link parameter is the same as the checkbox name this will work automatically (at least I think it will).
Otherwise you may need to add some custom code. What is the HTML for your checkbox group?
Bob
Is this ChronoForms v4? Then provided that the name of the link parameter is the same as the checkbox name this will work automatically (at least I think it will).
Otherwise you may need to add some custom code. What is the HTML for your checkbox group?
Bob
Hi Bob,
the html ist:
<label for="product">Product</label>
<input type="hidden" alt="ghost" value="" name="checkproduct">
<input id="checkproduct_1" class="" type="checkbox" value="1" title="" name="checkproduct[]">
<label for="checkproduct_1">Product 1</label>
<input id="checkproduct_2" class="" type="checkbox" value="2" title="" name="checkproduct[]">
<label for="checkproduct_2">Product 2</label>
<input id="checkproduct_3" class="" type="checkbox" value="3" title="" name="checkproduct[]">
<label for="checkproduct_3">Product 3</label>
So i want make a checkbox checked on the refered link.
I tried it with some options, but it doesn't seem to work.
What is the right syntax for the link to get it checked ?
<!-- w --><a class="postlink" href="http://www.domain.com/index.php/product?checkproduct_1=1">www.domain.com/index.php/product?checkproduct_1=1</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.domain.com/index.php/product?checkproduct_1=checked">www.domain.com/index.php/product?checkproduct_1=checked</a><!-- w -->
the html ist:
<label for="product">Product</label>
<input type="hidden" alt="ghost" value="" name="checkproduct">
<input id="checkproduct_1" class="" type="checkbox" value="1" title="" name="checkproduct[]">
<label for="checkproduct_1">Product 1</label>
<input id="checkproduct_2" class="" type="checkbox" value="2" title="" name="checkproduct[]">
<label for="checkproduct_2">Product 2</label>
<input id="checkproduct_3" class="" type="checkbox" value="3" title="" name="checkproduct[]">
<label for="checkproduct_3">Product 3</label>
So i want make a checkbox checked on the refered link.
I tried it with some options, but it doesn't seem to work.
What is the right syntax for the link to get it checked ?
<!-- w --><a class="postlink" href="http://www.domain.com/index.php/product?checkproduct_1=1">www.domain.com/index.php/product?checkproduct_1=1</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.domain.com/index.php/product?checkproduct_1=checked">www.domain.com/index.php/product?checkproduct_1=checked</a><!-- w -->
Hi Flip,
Please try using the name in the url, not the id &checkproduct=2
Bob
Please try using the name in the url, not the id &checkproduct=2
Bob
This topic is locked and no more replies can be posted.