Hi @carliotxs,
Unfortunately, I wasn’t able to examine the form closely because the provided Google Drive URL has restricted access.
Regarding the JavaScript you shared, it isn’t sufficient to prepopulate a Forminator form field on its own. You’ll need to modify the HTML markup by using the forminator_field_number_markup
filter in Forminator to achieve this.
The following line of code is an example of how you can update a form field.
$html = str_replace( 'name="number-1"', 'name="number-1" value="'.$custom_number.'"', $html );
The above-provided code will update a number field in the Form with a custom value.
I’m afraid providing an exact code will be outside the scope of support we can provide. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/, if you need further advice about it, feel free to email “[email protected]” with the subject as “ATTN: WPMU DEV support – wp.org”
Kind Regards,
Nebu John