How do I edit "default" button labels & "default" Pop Up messages in Laserfiche Forms?
Looking to re-label the 'Save as Draft' button to 'Save for Later' and replace the word 'draft' in the pop-up message to 'Unfinished Form'.
How do I edit "default" button labels & "default" Pop Up messages in Laserfiche Forms?
Looking to re-label the 'Save as Draft' button to 'Save for Later' and replace the word 'draft' in the pop-up message to 'Unfinished Form'.
Forms doesn't allow the customize the button label for Save as Draft and the dialog title right now. Can you share with us the use case of supporting such customization?
We're looking to make the form and dialogues more user friendly. We're concerned some of our users will not realize 'Save as Draft' = 'Save for Later'.
This would be a real useful form for us. We need to release forms in French and English
I added it to the feature requests list.
In the meantime, can you please share the JS that would allow us to edit the text of all items?
Just need to modify Scott's a little bit:
$(document).ready( function() { //change the save as draft button on the form $('.draft-btn').val("Save for Later"); //change the dialog title for save draft $('#draftPage #myModalLabel').text("Save Unfinished Form"); });
Could you please expand to include all text / labels on the Save as Draft pop-up? Thanks in advance
My best advice here is to just get familiar with CSS selectors and the Developer Tools (particularly the element inspector) within your favorite web browser. I'm not sure what you are looking to change specifically. It may also depend on which version of Forms you are looking at, because the class names and IDs may change between versions.
While Laserfiche doesn't provide a way to change this text from the editor, you can change almost anything using Javascript. I'm on Version 9.2, and this works for me:
$(document).ready( function() { $('button.draft-btn').text("Save for Later"); $('#draftPage #myModalLabel').text("Save Unfinished Form"); });