Hi Fabrice,

Sorry for not replying directly to your email, but emails from the dev list has 
not been sent to me for some reason. I can only read your reply in the 
archives. That is also the reason my original mail has been sent to the list 
multiple times.

I have looked at the github link, but I am afraid my knowledge of Perl is 
rather limited, so I have no idea how to achieve what I would like to do.

Any chance you could help me out, by providing a signin.html that hides sponsor 
email, or with this - better - suggestion?



Hi Jes,

IMO the better thing to do is to define a email address directly in the

sponsor module and hide it on the portal.

Something like that but for sponsor email




Fra: Jes Kasper Klittum
Sendt: 15. marts 2017 10:51
Til: 'packetfence-devel@lists.sourceforge.net' 
Emne: Prefill sponsor, and hide field from registration form

Hey Devs,

In my portal module, I am using two sponsor based authentication modules - one 
for visitors which require the visitor to enter a sponsors email, and one for 
employees which should not require the user to enter the sponsor email, but 
requires a custom field.

Visitor module works as it should, but the employee guest registration needs a 
bit of work.

What I want to achieve is:

If the form contains the mandatory field "custom_field_9", then the sponsor 
email field should be hidden on the form, and prepopulated with an email 
address. This way, when an employee wants to register a device, an email will 
just be sent to IT to approve the access.

I have tried modifying signin.html, but I am not very strong in HTML or perl. 
Any help to achieve the above would be greatly appreciated.

Med venlig hilsen / Best regards,

Jes Kasper Klittum
Head of IT

Ahornvej 1,
DK-4780 Stege

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
PacketFence-devel mailing list

Reply via email to