콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2661 화면

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🙂

관련 게시물 답글 화면 활동
2
3월 17
16216
1
11월 24
20199
1
9월 23
3014
3
5월 23
5626
7
4월 23
48985