Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2607 Представления

Hi,good day!. 


I just want to ask how i can automatically change the string of a button after i clicked it on form view. 

Аватар
Отменить
Лучший ответ

Am not sure if that is possible. 
One quick hack.. we could achieve this with an extra boolean field (say B). 

You could have 2 buttons(say 1&2) in the view pointing to the same function but with different string value in xml. Once clicked, change that boolean field to True. 

so in view, you could write like 
1--> visible when B is False
2--> visible when B is True

Until you find proper  solution, you could use like this.

Аватар
Отменить
Автор

Yes, i did that already. Thanks🙂

Related Posts Ответы Просмотры Активность
2
мар. 17
16072
1
нояб. 24
20018
1
сент. 23
2894
3
мая 23
5483
7
апр. 23
48809