On 6/1/2021 3:35 PM, Charlie wrote: > OK.. Yes the trim did it. I should have known better. > > I ended up doing this... > > function ENTRYFIELD4_onChange() > if len(trim(form.entryfield4.value)) < 5 > msgbox( " Invalid Input!" ) > form.entryfield4.value = "" > form.auctopen1.rowset.fields["locate_a"].value = "" > endif > return > > The valid is cool but it seemed to freeze the form until the problem was resolved which was frustrating. is there a way around that?
Valid is designed to be either required or not. Try setting the
validRequired to false. The error will come up, but the user shouldn't
be 100% stuck. However, I just tried it with the sample form, and ...
same issue. It won't let you leave the entryfield until you've entered
whatever is required. You could probably add some code to change it but ...