Scripting a Button

I

isharkb8

Can someone give me advice on how to create a button that when clicked will
populate a data field on a form?
 
M

Murray

<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.
 
Top