I have a property address field on a form. When I submit the form, I get an error in the State field. It is asking for a value but a value is present.
Question
Question
Replies
Can you default the value to USA? I think it may be mad that it is empty and not showing you properly.
This looks like a stand address block. Are you using Java to hide the Country field?
Yes. I am using:
$(document).ready (function () {
$(".Country").parent().children().css('display', 'none');
$("#Field1_DSG5").siblings().css('display', 'none');
})
Try this script and and see if it helps in removing the error message:
$(document).ready (function () {
$(".Country").parent().children().css('display', 'none');
})
$(document).ready (function () {
$(".State").siblings().text('State');
})
I was having the save issue, but I did not add a field to my script maybe it will work for you.
I updated the JAVA Script and still got the error. BUT, when I deleted the address field in the forms designer and added it right back, it worked fine.
Thank you everyone for you quick suggestions.
Nice.