Change the label of a button

T

Timo

Can I change the label of a button from javascript within my infopath form? I
did not find a possiblity.

Thanks a lot for all my question before ;)

Regards
Timo
 
G

Greg Collins [InfoPath MVP]

IT is not possible to update a button label at runtime in InfoPath. The best option you have is to create mutiple buttons and use conditional formatting to hide/show them as appropriate.

If this is inconvenient, you might consider using an expression box as a label next to the button, and then use a generic button label.
 
T

Timo

I do not understand generic buttons. We decided for a different solution. So
this is not really necessary for our project.

I'am still interested for that theme. What sould I do?

Regards
Timo
 
G

Greg Collins [InfoPath MVP]

Its not that the button itself is generic, but rather that the button label has a generic message such as "Send" or "Save" or whatever. Then next to the button, you have an expression box which gives more detail about what exactly that button will do.
 
Top