==[[PhplistDocumentation Phplist Documentation]] » [[ConfigurationFunctionsInfo Configuration functions]] » [[ConfigureSubscribePageInfo Configuring subscribe pages]] » [[EditSubscribePageInfo Editing or creating a subscribe page]] » == ---- =====Custom Subscribe Form ===== //This page describes how to create a customized subscribe form, which you can place on an existing page of your site. This method should work both with simple and complex subscribe forms.// ===How to place a custom subscribe form on an existing webpage=== This procedure will let PHPlist do the 'dirty work' of generating the form code. Then you only need to copy the form code, customize it a little bit, and place it on your webpage. - First, create a subscribe page with all the attributes you need. Select which attributes are "required," and set the order of listing. Don't forget to click on "Save and activate." - Then, on the [[ConfigurePhplistInfo configuration page]], make sure this setting is set to "true" (or 1): %%if there is only one visible list, should it be hidden in the page and automatically subscribe users who sign up (0/1) true%% - Run some tests to make sure that your standard phplist subscribe page is working as you'd want it to work. Only proceed with the next step, if you really are satisfied with the way the subscribe page works. - Now you need to copy the phplist generated HTML form code to a text editor. You can do this as follows: - Load the subscribe page you just created in your web browser, i.e. just point your browser to your subscribe page. - Display the source code for that page (right click on the page and select 'View source' in IE, or 'View page source' in Firefox). - Copy the form code (including the javascript that checks user input), and paste this in a simple text editor, like Windows Notepad. - Then, you need to customize the form code as described here. Change this: %%(html4strict)