Copy link to clipboard
Copied
can i press a button and have a hidden text box pop up?
Let's say the text field is called "Text1". Use this JavaScript code as the MouseUp event of your button field:
var f = this.getField("Text1");
f.display = (f.display==display.visible) ? display.hidden : display.visible;
Copy link to clipboard
Copied
Sure. But do you want to hide the field if the button is clicked again?
Copy link to clipboard
Copied
Yes and How do I do this
Copy link to clipboard
Copied
Let's say the text field is called "Text1". Use this JavaScript code as the MouseUp event of your button field:
var f = this.getField("Text1");
f.display = (f.display==display.visible) ? display.hidden : display.visible;
Copy link to clipboard
Copied
Perfect Thank You
Copy link to clipboard
Copied
If the hidden "textbox" is a button then you can make it hide if you click itself.