Hey all,

 

So I'm currently trying to modify the guest registration page. My two
goals were to specify the single sponsor email address in a hidden field
and to add a field for what conference room the guest is in. I am
getting "Unable to validate your sponsor at the moment". The value of
the email address is valid, I've just replaced it. J I've successfully
been able to send a registration email prior to this.

 

section of pf.conf:

 

[guests_self_registration]

modes=sponsor

access_duration=1D

mandatory_fields=firstname,lastname,organization,phone,email

sponsors_only_from_localdomain=no

 

 

section of usr/local/pf/html/captive-portal/template/guest.html:

 

          [% IF sponsored_guest_allowed %]

             <input class="field" name="sponsor_email" type="hidden"
value="[email protected]" /><br/>

            [% IF email_guest_allowed || sms_guest_allowed %]

              <em>Required for sponsored network access only</em>

           [% END %]

 

        <span>[% i18n("Conference Room") %]</span>

            <select name="conferenceroom">

                <option value="1">I.S. Conference Room</option></select>

 

Thanks for any help!

 

Amanda Berlin

 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to