Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In my file having an Button and Textbox.
But in my textbox should display date and time of last click on button.
If you don't understand properly my question reply me back, i will give u a brief explanation.
Thnks
Hi,
You can add a variable Settings -> Variable Overview -> Add
e.g. vButtonTime.
In your button settings after all actions, add a final one:
Actions -> External -> Set Variable: vButtonTime to value =now()
Now add the variable to your text box:
e.g. ='Last clicked: ' & vButtonTime
Best regards,
Dilyana
Dilyana Ivanova
Consultant
Hi Dilyana, thanks for your reply.
But when i am adding the variable to TextBox, then it is not showing anything except "Last Clicked:" .
I am using same variable what u used in your post. Please cross check this and reply me.
Thnks
Please see the attached example.
You can also use this for the timestamp function for the text box (it allows for special formatting):
='Last clicked: ' & timestamp('$(vButtonTime)')