You are viewing limited content. For full access, please sign in.

Question

Question

Edit "Default" Button Labels & Pop Up Messages in Laserfiche Forms

asked on November 24, 2014


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'.

0 0

Answer

SELECTED ANSWER
replied on November 24, 2014

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?

0 1
replied on November 25, 2014

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'.

0 0
replied on March 10, 2017

This would be a real useful form for us. We need to release forms in French and English

0 0
replied on March 12, 2017

I added it to the feature requests list.

0 0
replied on March 14, 2017

In the meantime, can you please share the JS that would allow us to edit the text of all items?

0 0
replied on March 15, 2017 Show version history

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");
});

 

0 0
replied on April 21, 2017

Could you please expand to include all text / labels on the Save as Draft pop-up? Thanks in advance

0 0
replied on April 28, 2017

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.

0 0

Replies

replied on November 25, 2014

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");
});
1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.