Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: Customizing join.cgi question

Quote Reply
Re: Customizing join.cgi question In reply to
Hi,

1. You would need to do something like:

<input type=checkbox name="contact_me"<%if contact_me%> checked<%endif%>>

and then try and pass in contact_me=1 to the page that displays the form.

2. You could do it as one field, should work fine (make sure you use 2.0.4, as we fixed a few things in handling of multi-selects and multi-checkboxes.

3. You don't need to resync, just make the field not null through the admin (not mysqlman, just go to Database->Demographics).

4. You can set this up in Database->Demographics.

5. Actually, that was for automatically selecting the template set, not the domain. To select the domain you can go to login.cgi?domain=foo.com and it will be preselected. Or you can add a global:

current_domain => sub { return $ENV{SERVER_NAME} };

and then use <%current_domain%> in the form.

Hope this helps,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread Customizing join.cgi question JerryP 1960 Sep 2, 2001, 11:21 AM
Post Re: Customizing join.cgi question
Alex 1870 Sep 4, 2001, 9:38 AM