TABLE OF CONTENTS › Default List When Subscribing
You don’t need to always have a drop down to select a list. If you only have a single list you offer you can use the following line of code:
<txp:zem_contact_secret name="zemSubscriberLists"
value="list_name" />
You could also do [if you have more than one but always want everyone subscribed to the same ones]:
<txp:zem_contact_secret name="zemSubscriberLists"
value="list_name list_name2 list_name3" />
A simple version of a form using this method would be:
<txp:zem_contact to="youremail@yourwebsite.com" >
<txp:zem_contact_email name="zemSubscriberEmail"
label="Your Email:" />
<txp:zem_contact_secret name="zemSubscriberLists"
value="list_name" />
<txp:zem_contact_checkbox label="This is not Spam. " />
<txp:zem_contact_submit />
</txp:zem_contact>
Comment
Ben,
Don’t forget to change this page o the manual!
As you told me, now (v.0.4.4) the way to subscribe a user to a default list is using <txp:zem_contact_secret />.