Buy Now
Sign in

Default Selection in Radio Group on Reload

cre8tivemedia , January 05 2019, 21:39
C
cre8tivemedia 92
January 05 2019, 21:39 #382613
When I make a selection in a dropdown it reloads a set of radio groups and each of these radio groups has a default selection set to "None". This works as I intended it to. The problem is that if a user makes a selection in one of the loaded radio groups and then makes a new selection in the dropdown it reloads the radio groups and does not reset the default selection to "None". It leaves all the selections blank. Is there a way to get it to return to the default whenever it reloads?
selected-01.png
selected-02.png
selected-03.png
radios.png
DealGetR.com
healyhatman 7
January 05 2019, 22:26 #382618
Selected value should be the VALUE, not the LABEL. Try putting 0 in there.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
C
cre8tivemedia 92
January 05 2019, 22:31 #382620
Same result...
DealGetR.com
C
cre8tivemedia 92
January 06 2019, 18:41 #382656
Weird, now when I set the selected value to 0 it's not working at all even on loading of the page. When I change it to None it works on the page load but not on a reload of the radios
Anyone know if this is a bug or if I have to force a reload of the entire page somehow?
DealGetR.com
healyhatman 7
January 06 2019, 22:05 #382658
Works for me on load but not on field reload. I think not doing default selection on reload is a bug but you should definitely be using the value and not the label in the default selection field
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store