The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

auto submit form once?

Labels

This Discussion is public

Notifications

Constantech added this great autosubmit method as a tip/trick:

 

<script type="text/javascript">
jQuery(document).ready(function($){
var delayMillis = 5000; // 5 seconds
setTimeout(function() {
$('#form_edititem button[type="submit"]').trigger('click'); // replace edititem with form key
}, delayMillis);
});
</script>

Is there a way to adjust this to autosubmit a form entry only the first time the entry is created/submitted? I have a form B entry created automatically from a Form A creation/submission. I just want the specific form B entry to autosave the first time only. I then need it to be editable and save normally with the usual button click afterwards....??

 

Discussion closed.