Hi.
I am having trouble getting some inline validation working now that I have several global option groups.
My code is:
rules:item_options[standard_sizes]="required" error_handling="inline
{if error:item_options[standard_sizes]}<p class="error_message">Error: Please select a print option above.</p>{/if}
This works pefectly if the entry has the standard sizes option, but if it has another option it doesnt work.
I tried this but with no luck:
rules:item_options[standard_sizes]="required" rules:item_options[pano_sizes]="required" error_handling="inline
{if error:item_options[standard_sizes]}<p class="error_message">Error: Please select a print option above.</p>{/if}
{if error:item_options[pano]}<p class="error_message">Error: Please select a print option above.</p>{/if}
My concern is, even if the above worked, if my client added a new group the validation wouldnt work on it.
How can I have the validation work on which ever global option group the entry uses?
Thanks
