someone have already used dialog_buttons_ok_cancel but meet error Element type "g:dialog_buttons_ok_cancel" must be followed by either attribute specifications, ">" or "/>".

display10
Kilo Explorer

I tried to create a dialog window. but when i use <g:dialog_buttons_ok_cancel ok="return validateComments()"ok_type="button" cancel_type="button" /> in my html . it caused the error  Element type "g:dialog_buttons_ok_cancel" must be followed by either attribute specifications, ">" or "/>". some one have found a solution for this?

thanks 

7 REPLIES 7

I tried this but it's still showing me the error

ok="return validateComments()"<add space here>ok_type="button"

 

This should help.

LAXMI TODAKAR2
Tera Contributor

Hello,

Try this it will work.

<g:dialog_buttons_ok_cancel ok="return validateComments()" ok_type="button" cancel_type="button"></g:dialog_buttons_ok_cancel>

Thanks,

Laxmi