I'm validating some fields by entering field names on the Validation tab page and have a few questions about placement and format of the validation messages.
If the user fails to enter a required field, a message like "This is a required field" appears under the field in question. This is fine for text fields. But a have a set of radio buttons and the user is required to choose one. The message "Please select one of the above options" appears under the first radio button (and, as I used a table to arrange the buttons and their text, it's squeezed over to the left). This looks pretty weird. Is there a way to have that message appear under the entire set of radio buttons rather than under the first one?
The validation messages are not very noticeable. Is there a way to format them in bold or color (or both) so they can be seen more easily?
Thanks
If the user fails to enter a required field, a message like "This is a required field" appears under the field in question. This is fine for text fields. But a have a set of radio buttons and the user is required to choose one. The message "Please select one of the above options" appears under the first radio button (and, as I used a table to arrange the buttons and their text, it's squeezed over to the left). This looks pretty weird. Is there a way to have that message appear under the entire set of radio buttons rather than under the first one?
The validation messages are not very noticeable. Is there a way to format them in bold or color (or both) so they can be seen more easily?
Thanks
Hi bmheck,
Sorry, don't know about the radio button validation without digging deeper in the code than I have time for this evening. The message location is currently set in the js files.
There is a thread about formatting using css here
Bob
Sorry, don't know about the radio button validation without digging deeper in the code than I have time for this evening. The message location is currently set in the js files.
There is a thread about formatting using css here
Bob
Thanks! For anyone else following this thread, if you haven't found the solution in the thread referenced above, the simple method is to place this style at the top of the HTML code for your form:
I'll wait to hear what you find on the placement of the required field message for the radio buttons.
Bill
<style type="text/css">
div.validation-advice {
color:red;
font-style:italic;
}
</style>
Sure enough, the validation messages are in red italic. Couldn't be easier!I'll wait to hear what you find on the placement of the required field message for the radio buttons.
Bill
This topic is locked and no more replies can be posted.