Inserting sign up form?

5 replies
Does the code for my sign up form have to be inserted on the page I want it displayed or can I do something with an external style sheet? Thank you.
#form #inserting #sign
  • Profile picture of the author ppc4profit
    Style sheets deal with colour, display attributes, layout etc - not with page code so the answer is no.

    Did you mean an external file? This could be relevant if the sign up form is generated by Javascript or php etc

    Anyway as the signup form code is a small number of lines it is often best to insert it into the page you want to display it on.
    Signature

    Checkout Our Fully Responsive Wordpress Templates
    Mobile Enable Your Wordpress Website Today - With This Plugin
    Online Marketing - We Help With PPC, SMS and QR Code Campaigns

    {{ DiscussionBoard.errors[993524].message }}
    • Profile picture of the author Barbara Eyre
      On the other hand, if this form will be on many pages of your site (and I'm going to assume a HTML website, as opposed to a WordPress type site) ... you could use a little php. I do this with headers, footers, navigation/menus - things that are on just about every page (if not all) of the site - so I have just one file to alter if need be, instead of doing the same change on every page.

      You put, in your case, the code for the form in it's own file and call it something like: signup.html

      Then, where you want the form to show, you do:
      Code:
      <?php include(signup.html)?>
      You may need to add commands to your .htaccess file to allow php commands in your html sites.

      but regardless of which way you ultimately do it, just do what works best for you in the long run.
      {{ DiscussionBoard.errors[993614].message }}
  • Profile picture of the author iconoclast
    I have inserted the following code, that I received from icontact, after the start of my sidebar div, but I am not seeing a form when I preview page in browser. I am using dreamweaver cs4. Can anyone tell me why? Thanks.

    <style type="text/css">
    #SignUp .signupframe {
    border: 1px solid #060000;
    background: #405152;
    color: #ABECF5;
    font-family: Arial, Helvetica, sans-serif;
    }
    </style>
    <script type="text/javascript" src="http://app.icontact.com/icp/loadsignup.php/form.js?c=522222&l=27552&f=3590"></script>
    <a href="http://www.icontact.com" style="font-family: Arial, Helvetica, sans-serif;"><font size="2">Email Marketing by iContact</font></a>
    {{ DiscussionBoard.errors[993791].message }}
  • Profile picture of the author viralim
    I tested your script by copying it into notepad, saving it as a html file, opened it in IE and it came up. It has a dark gray bg with light blue text and the words "email marketing by icontact" underneath the form box. Try creating a 1x1 table and put this in a table instead of the div. Hope this helps.
    Signature
    Viral IM WSO: Keyword research, list building, backlinking tools. 50% off storewide! Promo Code: wso50.
    Don't get slapped by Google! Identify duplicate content & keyword density. Get this simple, powerful tool!
    >> CraigsList users, here's 100 other places to place your ads for FREE! <<
    {{ DiscussionBoard.errors[993838].message }}
    • Profile picture of the author iconoclast
      Isn't that a css style? Don't I need to place the style in the head of the document for embedded or in an external style sheet, not in a table or div? Which portion actually goes where I want it to show in the body?
      {{ DiscussionBoard.errors[993852].message }}

Trending Topics