Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2593 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

Yes, i did that already. Thanks🙂

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 17
16047
1
marrask. 24
19991
1
syysk. 23
2889
3
toukok. 23
5480
7
huhtik. 23
48796