Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
sweetyp2005 #1
use button to add form field
How do I use button to add form field in the same window? I want when user click button then It show up more text area for them in the same window.
sweetyp2005 Guest
-
required field vs disabled submit button.in a form
I'm trying to make my email field required. Have seen and tried multiple solutions from this forum, with no success. I think it has something to... -
Defined text field in form -> subject field in e-mail
Hi, I have a form on my web site which users send to me by mailto-function. I would like the text they write in a particular text field to... -
Button form field. Acrobat St /Prof?
Has anyone found a way to do what the ButtonImportIcon feature allowed users to do in versions of AR before 6.0? I don't understand how they could... -
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome?
I have a web form with several fields. If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed... -
JavaScript Access to Button in form tags (webcontrol or html button)
Hello, I have a button called LoadBtn, which exists in <form name="Form1" runat=server></form> tags. I then have javascript loaded outside of... -
Dan Bracuk #2
Re: use button to add form field
Make the button a input type="button"
Write a onclick event handler in javascript
Or, put the textarea there to start with.
Dan Bracuk Guest
-
BKBK #3
Re: use button to add form field
Perhaps a kickstart?
<html>
<head>
<title>show hidden textarea</title>
<script type="text/javascript">
function showTextArea() {
document.getElementById('txtAreaDiv').innerHTML = "<textarea rows='6'
cols='20' name='textAreaName' id='txtAreaID'></textarea>";
}
// -->
</script>
</head>
<body>
<form action="#">
Text field 1: <input type="Text" name="txt1" size="30"><br>
Text field 2: <input type="Text" name="txt2" size="30"><br><br>
<input type="Button" name="txtArea_switch" value="Show text area"
onclick="javascript:showTextArea()"><br><br>
<div id="txtAreaDiv"></div>
</form>
</body>
</html>
BKBK Guest



Reply With Quote

