To simplify things, here is the fiddle: http://jsfiddle.net/FyuSD/157/
<script id="choiceTmpl" type="text/html">
<label><input type="radio" value="boughtBefore" data-bind="checked: radioSelectedOptionValue" />Purchase products I have bought before</label>
<br />
<label><input type="radio" value="searchProduct" data-bind="checked: radioSelectedOptionValue" />Search for a product I haven't purchased before</label>
<br />
I guess I have a couple questions. I am building a wizard and need different execution steps depending on which option the user selects. The question I want to know is, how do I get the value of radio button that they select?
Like on step two, if they select "purchase products I have bought before" how can I redirect it to another question: create order from guide or create order from previous order (using radio buttons again)?
I can't figure out how to get the value of what they select. Furthermore, how would I skip steps depending on the option they choose? (fore example, go from step 2 to step 4 if they select "want to search for a product" in step 2)
Lastly, is there an easy way to change the radio-button text to match the questions without create a new template for each?
Sorry if this is too many questions, and thanks for the help...