How to use submit button in grails with if-else statement? -


i working on grails project. have problem <g:submitbutton> tag, , using web flow. wanted proceed on next page using <g:submitbutton> if input user 1, while display pop window options ok , cancel buttons if input 0. if ok button clicked, user redirected page, same through if cancel button clicked.

have tried this?

please help!

i guess need javascript in form tag functionality. search “html form onsubmit“ , you'll find resources.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -