Dynamically change Command label
I have Form in which I placed CustomItem so I can display things in more convenient way. There is no issue between Form-CustomItem communication. I'm able to recognise which item is selected and depending on it forward to next screen. However I would like that if item has a value Command label should read "Edit" where if there is no value it should read "Add". So far I did not come up with any solution how to change Command label from first item with value and "Edit" to second value and "Add" label on Command.
Any suggestions are welcome.