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

for example i want to update value of some field in same form with two button


if Field Value updated by Button one then validation/condition will be check 

if Field Value updated by Button two then any type of condition/validation will never b check 

how it can be possible any solution or tips 

Avatar
Buang
Jawaban Terbai

Hi,

For this you have to record button click some where in the record itself, like two boolean fields for each buttons and mark the boolean as true from the button function.

Suppose if you are clicking the first button then it calls the first button function, here in this you can write the boolean field of first button as True. If the second button is clicked then boolean field of the second button has to be made as True.

Then later while checking the condition, you can check whether which boolean field is True and use the condition based on it.

Thanks

Avatar
Buang
Penulis

Thanks Niyas your kick(tip) perfect for goal & I do it ... Alhumdolillah ....

Post Terkait Replies Tampilan Aktivitas
2
Apr 19
2599
1
Okt 16
6419
1
Apr 20
7057
2
Mar 19
10837
1
Mar 15
5678