asp.net - Step by step user interaction pattern -


i have wizard users need fill out data. cannot navigate second step until first step completed.

i enforced behavior disabling/enabling "next" button, not solution, since seems not elegant or safe here. approach on building step-by-step processes enforcing step completion.

thanks!

i think level of safety depends of logic requirements.

  • if user have input authorization information before second step(like pin code) can put information(or hash-code generated information) in cookies , validate cookies when second step posted.

  • if user have input required information before second step(like country name first step needed generate states second step) have not done , tries post data second step can validate sittuation on second(or last step) , generate exception or redirect on first step.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -