Question
· Jun 30, 2021

ERROR #6353: Unexpected attributes for element button (7,66): onselect

Hi,

While adding button in Zen Form I am getting below error:

"ERROR #6353: Unexpected attributes for element button (7,66): onselect"

Looking Forward

Thanks

Product version: IRIS 2020.1
$ZV: IRIS for Windows (x86-64) 2020.1
Discussion (2)2
Log in or sign up to continue

Somewhere in your button tag, you have onselect= something. Buttons don't have an onselect, but even if they did, I'm guessing that's not the event you actually want. onselect happens when a user highlights text within a control, like in a text input.

If you're trying to set what happens when the user clicks the button, that's onclick.

If you're trying to set what happens when the user selects the button but doesn't click it (say by pressing tab until the button is highlighted) that's onfocus.