PASSWORD FIELD RESET WHEN SELECTING COUNTRY AND REGION DNN 7.3
Last Post 04/21/2015 8:47 AM by Orijit Banerjee. 7 Replies.
Author Messages Not Resolved
Ajay Vekariya
Nuke Newbie
Nuke Newbie
Posts:9


--
12/03/2014 2:09 AM  
Hi Folks,

I am working on registration form in dnn 7.3, which contains password and some address fields on this form.

The problem is changing items from country list box executes postback to retrieve region list. which affects the password field and set it to blank !!.

i've already tried to set EnableViewState=True & and ViewStateMode=True for that field, but it doesn't help anymore.

Looking for your comments guys..

Thanks,
Ajay Vekariya
kewlgeek
Nuke Active Member
Nuke Active Member
Posts:23


--
12/03/2014 2:32 AM  
I am getting the exact same problem. Does anyone have a fix for this?
kewlgeek
Nuke Active Member
Nuke Active Member
Posts:23


--
12/03/2014 2:34 AM  
I suspect that this is happening because a post-back to the form will cause a password field to clear. If there was some way to put the password fieleds below the country field that would solve the problem for us. But I don't see any way to move the password fields to bottom instead of having them at the top.
kewlgeek
Nuke Active Member
Nuke Active Member
Posts:23


--
12/03/2014 2:41 AM  
I found the issue here:
https://dnntracker.atlassian.net/browse/DNN-21568

It looks like they are not going to fix it due to security issues. But if they would just move the password to the bottom of the form instead of the top then it wouldn't bother the user.
kewlgeek
Nuke Active Member
Nuke Active Member
Posts:23


--
12/03/2014 2:59 AM  
I ended up modifying the DesktopModules/Admin/Security/Register.ascx.cs file to move the creation of the password fields below the loop that writes the profile properties. Yes, I know this will probably get overwritten when I next upgrade, but until they fix the problem in the core this will make my users stop complaining.
Ajay Vekariya
Nuke Newbie
Nuke Newbie
Posts:9


--
12/03/2014 6:27 AM  
Hi kewlgeek,

Thanks for your efforts,but this is not an ultimate solution, this patch also modifies the display position of the field so this couldn't help me !!!!

Regards,
Ajay
Joseph Craig
DNN MVP
Posts:11667


--
12/03/2014 6:41 AM  
You might want to take a look at Dynamic Registration from DataSprings.com. You can also create custom registration forms with XMod Pro.

You should also got over to the DNNTracker page and add you comments to, perhaps, light a fire under this.

Joe Craig, Patapsco Research Group
Complete DNN Support
Orijit Banerjee
Nuke Newbie
Nuke Newbie
Posts:1


--
04/21/2015 8:47 AM  
lil late to the party but if you only want to circumvent the postback causing the password field reset, edit the Country Code field in Profile settings and change the Data Type from Country to List. It retains all the country values but causes no postback.


---