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

Question

Question

Change Action button Text - Java Script

asked on January 29, 2019

I have a case where when the user submits the task, the button should say "Move to complete". After submit, when the form is stored in repository, the action history page should say "Moved to complete". Can I change the action button text in Java Script to achieve this please? Thanks.

 

Priya

0 0

Replies

replied on January 29, 2019

You don't need javascript to do this. In the User Task, on the Form tab, you can rename the labels for the Action Buttons to whatever you want them to be. Those labels will then be visible in the Action History in the repository.

0 0
replied on January 29, 2019

Thanks. Yes, I am renaming like that. But in action history, I want to show it different like 'Moved to complete' instead of 'Move to complete'.

 

Priya

0 0
replied on January 29, 2019

Try setting the actual value in Forms to "Moved to complete" and use CSS/JS to change the value on the approval form to "Move to complete". The custom code will change the value that appears to the form filler, but the action history will show the true value set in Forms. 

0 0
replied on January 29, 2019

Thanks. Do you have example please as to how I can change in approval Form?

 

Priya

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.