i2-Services, Inc. Forums

Full Version: Adding fields to subscribed.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to include additional fields from the subscribe form on the subscribed.php page?

In particular, I would like to include the group level (lists), and if possible, the description that I assigned to the particular list number.

"1" maps to "1 Client"
"2" maps to "2 Provider"

Thanks in advance...
I follow. Unfortunatley the sub-groups selected currently are not available in that format within the e-mail at this time.
Sorry I re-read. For the subscribed.php you could probably add code like this:

Code:
{php}
if($_POST[lists[1]]) {
   echo "HTML / Text Here";
}
{/php}

I have not tested that as of yet.

i2-Services, Inc. Wrote:
Sorry I re-read.   For the subscribed.php you could probably add code like this:

Code:
{php}
if($_POST[lists[1]]) {
   echo "HTML / Text Here";
}
{/php}

I have not tested that as of yet.

Makes sense... however, using this code literally give me error messages.  Here is the code I am using.  Do I need to convert some of the tags?

Code:
<table border="0" cellpadding="4" cellspacing="3" class="fixed12pt">
                  <tr>
                    <td width="200">  Nickname </font></td>
                    <td>{$name}</td>
                  </tr>
                  <tr>
                    <td>e-Mail Address</td>
                    <td>{$email}</td>
                  </tr>
                  <tr>
                    <td>Membership Type</td>
                    <td>{php}
                           if($_POST[lists[1]]) {
                           echo "1 CLIENT";
                            }
                        {/php}
                    </td>
                  </tr>
                </table>

Let me run some tests and I'll get back to you on this.
Reference URL's