Submit custom field to be passed along with contact info in thank you redirect url

I am using plain html version of form which has some custom fields like
<input id="_sc" name="inf_custom_sc" type="hidden" value="test value">

this works only if I define this field on form builder first.

Is it possible to add custom field dynamically from html form side or we need to define it from form builder first then use it.

<input id="_sc" name="inf_custom_sc" type="hidden" value="test value">
<input id="_bc" name="inf_custom_bc" type="hidden" value="bc value">

I have a lot of form already so don’t want to edit all of them to add some fields

You have to edit the web form in Keap, publish, then reinsert the code into the website for the fields to be on the form.