We're using Pro so the client can use the GUI to easily create forms.
I've got a custom composer template to output these forms.
With radio groups I need the first radio to be pre-selected (who wouldn't want that?!), ie checked="checked". In fact it doesn't have to be the first radio button, any will do, this will simplify client-side validation.
In the Docs: http://www.solspace.com/docs/freeform/form/#freeform_field_field_name outlines default_value="VALUE", this is available to pre-select a default value.
But there's no further explanation in 'Default Fieldtypes'.
In my composer template I have this:
{freeform:field:{composer:field_name} default_value="Yes"}
When 'Yes' is available as a value for a radio button it does pre-select it. But I don't know what the values will be as the client will build the forms.
I need this (pseudo code):
{freeform:field:{composer:field_name} default_value="{composer:field_name[0]:data:value}"}
Anyone done this? Help from Solspace?