Developer forum

Forum » Development » Saving Addresses issue

Saving Addresses issue

Oscar Romin
Oscar Romin
Reply

Hello!

I am trying to save the AccessUserAddress that is also saved on the AccessUser in its Address-field. This information is, from what I can gather, only in the AccessUserAddress table as a row with empty fields, and then they are shown somehow anyway when I list all the addresses in both frontend and backend for that user. 

Well, when I edit that address, from either backend or frontend, and try to inspect the UserAddressNotificationArgs.UserAddress i get in the Notifications.UserAddressOnAfterSave observer, that address only returns the empty values from the AccessUserAddress table, and the AccessUser itself hasn't gotten the new values yet in its Address fields. 

So how can I get the value i entered?

Attached some images to further show what i mean.

//Oscar

addressissue1.png.jpg addressissue2.jpg addressissue3.jpg

Replies

 
Oscar Romin
Oscar Romin
Reply

Ah, after further thinking I realized that I could get my posted values from HttpContext.Current.Request.Form["NameOfInputHere"]. That should work for me.

 

You must be logged in to post in the forum