<div dir="ltr"><span style="font-size:12.8px">In the template, login.ftl, the parameter login.username is begin used to fill back in the username field after a failed login. In our custom template, I have additional fields I wound not want a user to have to refill after a failed login. Some of these fields are pre-populated via the form authenticator with context</span><span style="font-size:12.8px">.</span><span style="font-size:12.8px">form</span><span style="font-size:12.8px">().</span><span style="font-size:12.8px">setAttribute, which works fine. However, on a failed login, the login page changes and this context is lost.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is it possible to set additional fields to save their data during failed login?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">-Frank</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px;float:left"><span style="display:inline-block;font-weight:700;font-size:13px;color:rgb(78,38,131);text-transform:uppercase">FRANK</span> <span style="display:inline-block;font-size:13px;color:rgb(78,38,131);text-transform:uppercase">HERRMANN</span> <br><span style="display:inline-block;font-size:11px;color:rgb(176,176,176);text-transform:uppercase;line-height:18px">SOFTWARE ENGINEER</span><div style="clear:both;color:rgb(102,102,102);font-size:11px;letter-spacing:1px;line-height:4px"><p style="padding-left:1px">T: 561-880-2998 x1563</p><p>E: <a href="mailto:frank.herrmann@modmed.com" target="_blank">frank.herrmann@modmed.com</a></p></div></div><br style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px"><br style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px"><div style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px;clear:both"><br><table border="0" cellpadding="0" cellspacing="0" width="180em" style="border-spacing:0px;border-collapse:collapse"><tbody><tr><td width="220" style="border-collapse:collapse"><a href="http://www.modmed.com/" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ Modernizing Medicine ]" height="66" src="http://www.modmed.com/wp-content/uploads/2015/08/mm-signature-logo.png" width="166" style="display: block; border: none; outline: none; text-decoration: none;"></a><table border="0" cellpadding="0" cellspacing="0" width="95%" style="border-spacing:0px;border-collapse:collapse"><tbody><tr><td style="border-collapse:collapse"><a href="http://www.facebook.com/modernizingmedicine" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ Facebook ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_Facebook_20.jpg" width="23" style="display: block; border: none; outline: none; text-decoration: none;"></a></td><td width="8" style="border-collapse:collapse"><img alt="" height="1" src="http://www.modmed.com/wp-content/uploads/2015/08/blankspace.png" width="3" style="display: block; border: none; outline: none;"></td><td style="border-collapse:collapse"><a href="http://www.linkedin.com/company/modernizing-medicine/" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ LinkedIn ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_LinkedIn_20.jpg" width="28" style="display: block; border: none; outline: none; text-decoration: none;"></a></td><td width="8" style="border-collapse:collapse"><img alt="" height="1" src="http://www.modmed.com/wp-content/uploads/2015/08/blankspace.png" width="3" style="display: block; border: none; outline: none;"></td><td style="border-collapse:collapse"><a href="http://www.youtube.com/user/modernizingmedicine" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ YouTube ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_YouTube_20.jpg" width="28" style="display: block; border: none; outline: none; text-decoration: none;"></a></td><td width="8" style="border-collapse:collapse"><img alt="" height="1" src="http://www.modmed.com/wp-content/uploads/2015/08/blankspace.png" width="3" style="display: block; border: none; outline: none;"></td><td style="border-collapse:collapse"><a href="https://twitter.com/modmed_EMA" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ Twitter ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_Twitter_20.jpg" width="28" style="display: block; border: none; outline: none; text-decoration: none;"></a></td><td width="8" style="border-collapse:collapse"><img alt="" height="1" src="http://www.modmed.com/wp-content/uploads/2015/08/blankspace.png" width="3" style="display: block; border: none; outline: none;"></td><td style="border-collapse:collapse"><a href="http://www.modmed.com/BlogBeyondEMR" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ Blog ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_Blog_20.jpg" width="25" style="display: block; border: none; outline: none; text-decoration: none;"></a></td><td width="8" style="border-collapse:collapse"><img alt="" height="1" src="http://www.modmed.com/wp-content/uploads/2015/08/blankspace.png" width="3" style="display: block; border: none; outline: none;"></td><td style="border-collapse:collapse"><a href="http://instagram.com/modernizing_medicine" style="color:rgb(255,210,4);outline:none" target="_blank"><img alt="[ Instagram ]" border="0" height="18" src="https://www.modmed.com/wp-content/uploads/2014/11/Email_Instagam_20.jpg" width="23" style="display: block; border: none; outline: none; text-decoration: none;"></a></td></tr></tbody></table></td></tr></tbody></table></div><br style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px"><div style="color:rgb(65,64,66);font-family:Lato,sans-serif;font-size:12px;line-height:12px;clear:both"></div></div></div>
</div>