I'm creating a basic subscribe form for a system that requires both email address and last name (SugarCRM in case anyone is interested).
I need to populate the last name input value with something (anything, it doesn't matter) only if the visitor doesn't put their own last name in.
As the subscribe action is hosted (Mail Chimp) I don't have access to it to pre-validate, unless this can happen before it's passed on. I'm wading into deeper PHP waters than I'm comfortable with! Is this possible with jQuery
?
So basically I'm getting around the required last name by filling the value with something.