I received wonderful assistance yesterday from the community with filling a caspio form field with value calculated by javascript routine in the footer of the submission form. It works beautifully!!
I would like to automatically submit the form after filling the field & so get rid of the 'submit' button. Any help is greatly appreciated.
The current fill form routine that works well is below:
<SCRIPT LANGUAGE="JavaScript">
function Fill_field()
{
document.getElementById("InsertRecordPeriod").value = (pperiod);
}
/* On submitting the webform, the function Fill_field is executed */
document.getElementById("caspioform").onsubmit=Fill_field;
</SCRIPT>