I created a form using Profile Builder.
Here is link to Form: Form Link
I installed WordPress plugin "Insert Header and Footer" and I tried to run jQuery script with just an alert and it was working.
But, it is not running with below code. The code shows in inspect element but it has no effect.
<script>
$( "#username" ).attr("pattern", '^[0-9]{8}[A-Z]$').prop('required', true)
</script>
I want to take selected number in form field. It's a simple script, why is the plugin not running it?

