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
Post a Comment