One thing I wanted to find out was how to remove the need to type in two 
different email address fields when sponsored guests visit guest.html.

So far, as far as I can tell, the user is presented with several fields as a 
sponsorship -- first name, last name, phone number, company, email, and 
sponsor_email.

For my particular use case, the email and sponsor_email will be the exact same 
value.  So...

Is there a way to custom modify the page to show only one field, and to take 
the input from that field and set both variables (email && sponsor_email) to 
the same input value?  

I'm not familiar with the "[%" delimiter so I am unsure what PPL this is.  Can 
someone kindly chime in?  

Here is the code in question:

            <span>[% i18n("Your email address") %]</span>
            <input class="field" name="email" type="text" value="[% email | 
html %]" /><br/>
          </div>

          [% IF sponsored_guest_allowed %]
          <div class="input">
            <span>[% i18n("Your Sponsor's Email Address") %]</span>
            <input class="field" name="sponsor_email" type="text" value="[% 
sponsor_email | html %]" /><br/>

**********************************************
Email Disclaimer:

This email, including attachments, may contain 
proprietary, confidential or privileged information. If you 
are not the intended recipient, please (i) do not use, 
disclose, save or retransmit this message or any 
attachments, (ii) alert the sender by reply email and (iii) 
destroy or delete this message and any attachments. 
Delivery of this email to a person other than the intended 
recipient(s) shall not constitute a waiver of privilege or 
confidentiality.

CP Investments, member FINRA and SIPC, serves as 
placement agent for investment products advised by 
Canyon Capital Advisors LLC. This email is not intended to 
be an offer to sell or a solicitation of an offer to buy any 
security in any jurisdiction. We review and retain 
electronic communications traveling through our network.

**********************************************

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to