Make Dynamic button

Hi all,

Most of docs(or forms) have status in order to keep track if the form is completed or not and so on. I can insert the button (Change Status) on the menu bar in order to trigger the state of the status everytime the user wants to change its[status] state. However, I’ve got to display status on the form for the users to see. Is there any that I can make the button (Change Status) to be dynamic (or to display its state, for example, draft, new, in progress, reject, complete, etc according to the state on the button)?

Do you have any recommendations or suggestions or ideas?

Thank you.

Mike Woo

Subject: Make Dynamic button

Hi Mike,

Action button labels are programmable in Notes 6 so you should be able to use this to make the button label whatever you want based on the status field.

However, the way I usually handle this situation is to have a computed field showing the Status somewhere near the top of the form, then have a separate button for each different status i’d want to change it to and use Hide when’s to hide the buttons which aren’t needed with the current status.

Hope this helps!

Emily

Subject: RE: Make Dynamic button

Hi Emily,

Thanks for quick response. I guess that you have the button appears on the form itself, and you hide those when you don’t need. However, can you make one button that appears on the menu bar instead of making more than one button hiding those when you don’t need? What I mean is have one button and make it dynamically? How about if you have sub status? For example, 3 main status: draft, new, completed, each of these have their own states.

Thank you

Mike Woo

Subject: RE: Make Dynamic button

Hi Mike,

I was actually talking about hiding action bar buttons, but either way would work.

I think i need to have more detail about what you are trying to achieve before I can try to give you any more advice. What exactly do you want your dynamic button to do? Will it work through a specific workflow process? What are the rules, and can you write down some examples?

I’ll try to get back to you on monday. In the meantime, have a great weekend!

Emily.