G Guest Mar 21, 2005 #1 Can someone give me advice on how to create a button that when clicked will populate a data field on a form?
Can someone give me advice on how to create a button that when clicked will populate a data field on a form?
M Murray Mar 21, 2005 #2 <input type="button" id="whatever" value="Click this" onClick="document.form1.textfield.value='something else'"> Note - the 'form1' should be replaced with the name of your form, and the 'textfield' should be replaced with the name of your field.
<input type="button" id="whatever" value="Click this" onClick="document.form1.textfield.value='something else'"> Note - the 'form1' should be replaced with the name of your form, and the 'textfield' should be replaced with the name of your field.