Transformed sugarlead.php script into a structured class object with exception handling.
Added notification email to Worpress admin when form is submitted.
Default contact form fields and mappings into SugarCRM are stored as arrays in WordPress options.
Required field support (First Name, Last Name and Email are required). If any required fields are missing, the form is re-displayed with a message indicating which fields are missing (entered values are retained).
Minor form markup updates.
Added a little more error checking during SugarCRM login function.
Wrapped form building in a function.
Updated shortcode function to properly output html.
Added email validation function.
Added honeypot-style anti-spam on the form.
Requires: 3.2.1 or higher Compatible up to: 3.2.1 Last Updated: 2011-11-23 Downloads: 901