In one of my embedded Marketo forms, I'm trying to append the values of two fields onsuccess, but the values do not make it into the record in Marketo. The fields are blank when I look at the record after submitting a test. (eventually I will be passing in the results of an API call, but for now just trying to get these static values passed to get it working)
Here is the code:
$( "input[name='newAccountStatus']" ).val( "signupfail" );
When I set a breakpoint, I can see that the values are successfully being appended,
Any ideas why these values aren't making it in to Marketo?
Thanks in advance.