Input validation & @editgotofield

Is there any way to use @editgotofield within input validation?In fact, I would check that some fields are not empty and if it is the case, I’d like to put the cursor within these fields.

I have some code in querysave which work, but I thought it was better to do that with input validation

Subject: Input validation & @editgotofield

My opinion is that querysave is the better way to go versus Input Validation. That way it checks only when the user tries to save not every time the form is refreshed. Having a message come up everytime the form is refreshed, in my experience, has taken away from the userability and flow of the data entry. Perhaps indicate with a red * for the required fields, so they’re not suprised when the get the message and leave it on the querysave. That’s my suggestion.

-Justin

Subject: RE: Input validation & @editgotofield

I also think it’s obnoxious to give validation messages when the form is refreshed, but you can always have your validation formula test @IsDocBeingSaved and only fail if true.

Querysave code definitely has its place in validation, but I think it’s really nice to have all the code associated with a field be part of the field, when that doesn’t make things more difficult.

Subject: RE: Input validation & @editgotofield

Thanks Justin, I think you’re right (and I already have *)…

Subject: Input validation & @editgotofield

I don’t understand what you’re asking. You specifically state that you want the result of an Input Validation failure to include the placement of the cursor in the offending field. This already happens when input validation formulas fail. So the answer to your question is that it’s already happening.