How do I set a radio item as already selected by default when a form loads? I’ve tried various ways and it just refuses to select the one I want on load.
Hi!
Please try this code:
fd.field("RadioInternalName").value = "Choice";
Note the following:
- You should replace “RadioInternalName” with an internal name of your field
- You should replace “Choice” with your default choice option
- Place this code into “spRendered” event handler (or “rendered”, if you use public forms)
1 Like
Worked. I see now I was over complicating it.Thanks.