I have a hotspot button in rich text and I am wondering if it is possible to figure out the buttons label in the code (formula or script) that I will ultimately write in the button. So when a user clicks on the button, I want to send an e-mail with the label of the button that was clicked. Is this possible?
Subject: Hotspot button label information
I think the answer is no (although you might be able to do some dxl thing and make it work).
Why not put the button name into your hotspot code and just use that? Simple, easy to maintain, you should be commenting your code anyway to just think of this as a type of comment.
Subject: RE: Hotspot button label information
Yes I can possibly place the button label in my code and then use it, but I was trying to make it easy for end users so they can easily reuse buttons they want to send out in newsletters. Thanks for your suggestions though.
Subject: RE: Hotspot button label information
it is possible in javascript to take a handle of buttons lable
if ur working on web then probably try this code
document.forms[0].buttonsname.value
but u have to specify a name for ur button first