Hi everyone,
Does anyone know how to set focus on a field after form load in Chronoforms version 6.
I used in the past for CF V5 following:
<script>
document.forms['form_name'].myfield.focus();
</script>
inside a "Custom Code" section after loading the form.
Does anyone know how to set focus on a field after form load in Chronoforms version 6.
I used in the past for CF V5 following:
<script>
document.forms['form_name'].myfield.focus();
</script>
inside a "Custom Code" section after loading the form.
Hi rotocal,
please try the following code:
Best regards,
Max
please try the following code:
<script>
document.getElementById("field_id").focus();
</script>
Best regards,
Max
This topic is locked and no more replies can be posted.