Cannot read property 'target' of undefined from current.js

Hi @Muhammad_Adnan,

Sure thing; here’s a super simple test page I set up in my portal:
Example Email Field Population

I checked out your page, and from what I can see the form isn’t an embedded HubSpot form. I generally populate the email field with code like this:

$("input[name='email']").val("test@test.com").change();

The code you included above is different, but theoretically should work. I think the issue is that your selector includes HubSpot form markup that doesn’t appear in the DOM. Trying the following in the console worked for me:

$("input[type='email']").val("test@test.com").change();