Question

I'm just trying to find a pattern / best practice to come up with interactive user decisions. So basically I have a (quite large) form the user has to fill. Once he submits, an AJAX-Post-Request is sent to the server. At first some fault checks are done there but some checks require user interaction e.g. "Is this really correct". As the returned "document" is always XML I thought of returning all questions at once like bla bla2 And then iterating through them. Ohh, I'm using JQuery and the Bootstrap' modal therefore. And if all these questions are answered with yes I'll send the form again with a parameter allyes=true or something.

However, I don't feel very happy with that and I'm just wondering if there are some easier ways to code that.

Best regards, fire

Was it helpful?

Solution

From a users perspective, it's better if the form tells you there is a problem as you go along, rather than having filled it all in. If the checks are field level, I'd be tempted to validate each one as they are filled in.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top