Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2709 Tampilan

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. 

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

Yes, i did that already. Thanks🙂

Post Terkait Replies Tampilan Aktivitas
2
Mar 17
16341
1
Nov 24
20300
1
Sep 23
3113
3
Mei 23
5689
7
Apr 23
49078