I don't think that's possible in SimpleXML, but you can do that for an HTML/JS dashboard by setting the text
property in the SubmitButton
constructor.
In advanced xml it is possible by using button module and setting value for label parameter
I don't think that's possible in SimpleXML, but you can do that for an HTML/JS dashboard by setting the text
property in the SubmitButton
constructor.
Turn on your browser's JavaScript Console... I assume it'll complain about a missing comma after the text: 'Resubmit'
line or something related.
Hi Martin,
I did what you mentioned, except the page won't load now.
I changed the name in two places:
1)
var submit = new SubmitButton({
id: 'submit',
text: 'Resubmit'
el: $('#search_btn')
}, {tokens: true}).render();
Does this look right?