Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I have a requirement to do Show/Hide Button dynamically.
Suppose, I have a text box and below that we have a button. Default Button will be "Show" , while clicking show button the text box will show and automatically the button will be renamed to :Hide". When we will click on Hide the text box will hide and the Button will be renamed as "Show".
Both Show And Hide should be in a single button.
Please help.
Thanks
Use two buttons for this 1st for Show and
2nd for Hide and vis versa for text box and buttons
Hope this helps
Hi Anand,
Thanks for your quick reply.
But, I want to create a single button instead of two buttons.
Refer Button from demo
The Default Button Style
Wastes A Lot Of Space
Vikas
Chk out
Thanks,
Prabhu
Try This.....
Create a variable vShow = 0 and use this variable in button and when click on button change its value
Hope this helps
HI,
Find Attachment, it solve your problem.
--Jai
1. Take a variable vShow = 1 set its value to 1
2. Take a button and Add a action -> Set variable -> vShow and value =if(vShow = 0,1,0).
3. In Text option for caption write =if(vShow=1,'Show','Hide')
Hope this helps
Hi,
Find Attachment, it solve your problem.
Only One Button while clicking show button the text box will show and automatically the button will be renamed to :Hide". When we will click on Hide the text box will hide and the Button will be renamed as "Show".
Both Show And Hide should be in a single button.