Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string composition from form fields #77

Open
Kennric opened this issue May 2, 2017 · 1 comment
Open

string composition from form fields #77

Kennric opened this issue May 2, 2017 · 1 comment
Assignees

Comments

@Kennric
Copy link
Contributor

Kennric commented May 2, 2017

We need a method in formsender that can take an arbitrary list of fields, and compose their contents into a colon-delimited string to be included in the body of the email.

This list should be specified in the form itself, using a hidden field.

for example:

<input type=hidden name="fields_to_join" value="name,email,phone">

would result in a string being inserted into the body of the email:

<name>:<email>:<phone>
@leian7 leian7 self-assigned this May 17, 2017
@ramereth
Copy link
Member

ramereth commented Jun 5, 2017

To be more specific, this is what we need in the email:

# date field is the unix date code
$username:$user_first:$user_last:$phone:$company:$date:$email:ibm-power:support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants