The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Help in adding a custom field, well actually two

Highlighted
New Member

Help in adding a custom field, well actually two

// Constant form data

            $data = "loginName=" . $username;

            $data .= "&loginPassword=" . $password ;

            $data .= "&ea=" . urlencode(strip_tags($_POST));;

            if (isset($_POST)) $data .= "&first_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&last_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&company_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&zip_code=" . urlencode(strip_tags($_POST));

           

            if (isset($_POST))

            {

              $exploded_name = explode(' ', $name);

              if(count($exploded_name) > 1)

              {

                   $data .= "&first_name=" . urlencode(strip_tags($exploded_name));

                   $data .= "&last_name=" . urlencode(strip_tags($exploded_name));

              }

           

            }


 


I am looking to add two custom fields for to radio buttons if selected


 


www.standardbent.com/contact.php


 


please look at where you enter the cataglog opt-in as well as the sales person opt in

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured