Long time ago we needed to have a button on HRNET screen. If you work with HRNET, you know, there are no buttons available on the screens.
Today almost no need for buttons, but I’ll tell you how the buttons can be done.
- First, drag a text-field to the form canvas. Do not associate thie field with any data.
- Call this text-field, say, “newButton“
- In Custom Script write this:
var newButton = document.getElementById("NewButton"); newButton.innerHTML = ''; function sayHello(){ alert("Hello!!"); }
- Load this screen in the front-end. Enjoy the button.
I hope you don’t need to be told what to do with buttons.. -))
Actually it would be pretty interresting to see in which contexts you’re using your devs 🙂
Thanks for keeping posting, very inspiring :))))
strangely enough, we don’t need buttons anymore. Couple a years ago we wished we have buttons, but now we learned how to live without them.
So far I have not came up with any places where we’d benefit from a button -)
I’ve found my first use for a button!
I’m using it on a personal details update workflow to swap primary and secondary contact numbers around.
That’s pretty cool! -)