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

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

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -