I’m trying to get a text box (or anything really) that when clicked reveals another text box which displays an email address (thinking it’s safer than having the email on display?). Unfortunately i havent a clue about coding but did manage to set up a working database with the help of YouTube but cant find any examples of what I want to do with this scenario.
I have selected the ‘onClick’ on the 1st text box and entered textBox2 next to it. Then I selected hidden on load for the 2nd box but I cannot make the 2nd box show itself when the 1st one is clicked. I am assuming I have to put some code in for an event but dont know what to put.
$w.onReady( function () {
//TODO: write your page related code here…
});
export function text19_click(event, $w) {
//Add your code for this event here:
}
export function text20(event, $w) {
//Add your code for this event here:
}
Any help would be gratefully received.
Thanks
Daisy