SteveMcLain
8 years agoQrew Trainee
Use Script to Put a Red Border Around Incomplete Fields
I'm trying to figure out a way to adjust the border and color of text entries or fields that are null to allow users a visible indicator of which fields remain incomplete. The fields aren't required, but we want to make sure they're visible when left empty.
I use Dan's iol technique to assist with making columns in embedded reports look better, so I assume I may be able to leverage that somehow.
I've written the following function:
But I'm unsure how to tie this together. I thought maybe I could create a field for each section on my form that calls the function for each empty field within the section.
This might be impossible. Let me know. I appreciate your help.
I use Dan's iol technique to assist with making columns in embedded reports look better, so I assume I may be able to leverage that somehow.
I've written the following function:
function redBorder(fid){}
$(fid).css({
border: "2px solid red"
});
But I'm unsure how to tie this together. I thought maybe I could create a field for each section on my form that calls the function for each empty field within the section.
This might be impossible. Let me know. I appreciate your help.