Hi
I am trying to write information to Salesforce from a dotnetnuke page. I am using the Text/HTML module, and therefore I am unable to simply copy and paste the Salesforce generated web to lead HTML as it uses a form. I have tried to change the code according to posts I have found on the internet however it still doesn't post to Salesforce. In addition to the posting problem, the returl doesn't seem to redirect the user following submission.
I am a non html/asp.net/dotnetnuke techie so I apologise if I am asking stupid questions.
My code is:
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<input type=hidden name="oid" value="xourSFDCidx">
<input type=hidden name="retURL" value="http://www.bbc.com">
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
<label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
<label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" /><br>
<label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" /><br>
<label for="city">City</label><input id="city" maxlength="40" name="city" size="20" type="text" /><br>
<label for="state">State/Province</label><input id="state" maxlength="20" name="state" size="20" type="text" /><br>
<input type="submit" name="submit" onclick="this.form.action='https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8';this.form.submit();" >
All help gratefully received.