cradletoenslave
Programmer
I'm trying to create a form, and I want the client to be able to click a link to autofill in parts of the form. Any tips are greatly appreciated.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<input type="button" onclick="opener.document.forms['formname'].elements['fieldname'].value='hi there';" />
<script language="javascript">
function passit(){
opener.document.form.firstname.value = document.childform.update.value;
}
self.close();
return false;
</script>
<form onSubmit="return passit();">
<input type="text" name="update">
<input type="submit">
</form>