Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Question
Marcia Hudspeth
We have the following form on our website.? I THINK ? ?this is where the notice from groups.io comes from.? Maybe not???
All that is on the post from groups.io is the person's email address.
Where does all the other info GO?
Marcia
Mini Cyber Club Member Application*?Indicates required fieldLast Name.................... First Name?*
Email Address (as on NAME roster)?*
City, State,Zip?*
NAME member # (on back of your Gazette above your name)?*
Select options that apply?*
NAME MemberWant more info about NAMEGuest up to one year
Submit
|
On Wed, May 22, 2019 at 04:38 PM, Marcia Hudspeth wrote:
I cannot speculate as to what "notice from groups.io" you might be talking about here. Based on the appearance of the form, it seems you are trying to collect new member information. Some thoughts: 1) You cannot put a web form in your groups.io wiki or on your group's home page and have it work. In most cases the form html constructs will be stripped entirely upon save; and even if it wasn't, there is no underlying server-side scripting functionality. 2) If this form resides on a different web host and you want it to send formmail to your group, the best way to do that is to set up an email integration, and send the formmail to the integration address. See?/g/GroupManagersForum/topic/29915856#15009?for more details. 3) Once your web server collects the form information (via the submit button), you have to build a message body and fill out the from/to/subject line using a server-side script before it is mailed. I'm appending a brief PHP script that I recently set up on our site to show you how this might be done. 4) For testing purposes, I suggest having PHP mail (or whatever you're using) send the formmail message to your private address until you get it looking right; and only then switch it over to the email integration address. If you're trying to do something else, please explain.? Regards, Bruce ? ? ? ? ? ? //Email recipient information
? ? ? ? ? ? $recipients = array(
? ? ? ? ? ? ? ? "treasurer@...",
? ? ? ? ? ? ? ? "membership@..."
? ? ? ? ? ? );
? ? ? ? ? ? $email = $_REQUEST['email'];
? ? ? ? ? ? $msg_body = $_REQUEST['name'] . PHP_EOL . $_REQUEST['address'] . PHP_EOL . $_REQUEST['city'] . ", " . $_REQUEST['state'] . " " . $_REQUEST['zip'] . PHP_EOL;
? ? ? ? ? ? $msg_body .= $email . PHP_EOL . "Home: " . $_REQUEST['phone'] . "? ?Cell: " . $_REQUEST['cell'] . PHP_EOL . "Type: " . $_REQUEST['new'] . PHP_EOL;
? ? ? ? ? ? $msg_body .= "Astronomical League: " . $_REQUEST['league'] . PHP_EOL . "Spouse: " . $_REQUEST['spouse'] . PHP_EOL . "Comments: " . $_REQUEST['message'];
? ? ? ? ? ? //send email
? ? ? ? ? ? foreach($recipients as $to) {
? ? ? ? ? ? ? ? mail($to, "New Member Information", $msg_body, "From: webmaster@...");
? ? ? ? ? ? }
--?
The system Help is your friend.??/static/help |
Marcia,
We have the following form on our website.Groups.io doesn't have a facility for collecting form information as a part of the group subscription process. The best you can (presently) do is include your questions in the Pending Subscription Member Notice, and instruct the member to answer in an email reply to that notice. /static/help#membernotices I THINK this is where the notice from groups.io comes from. MaybeIf your web site has code on it lifted from the Promote page of your group, that code collects only the email address for submission to group's signup page. And yes, that could be the origin of a "Subscription Approval Needed" or "New Subscriber" notice from groups.io to the group moderators. Your website designer would have to figure out what to do with the other data. I don't speak website code, but maybe Bruce's example will help with that. Shal -- Help: /static/help More Help: /g/GroupManagersForum/wiki Even More Help: Search button at the top of Messages list |
to navigate to use esc to dismiss