London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
EPiServer 4.62B
I have XForm and a radiobutton list. The possible values of the radiobutton list are e-mail adresses. When the selected e-mail address is stored in the database the @ is replaced by an _ (underscore). Why? I could replace the underscore with the @ in the BeforeSubmitPostedData event, but the e-mail adress itself could contain underscores, with should not be replaced..
XmlDocument xml = FormControl.Data.Data as XmlDocument;
XmlNodeList node = xml.GetElementsByTagName(MailToPropertyName);
string mailTo = node[0].InnerText; // name_gmail.com, should have been name@gmail.com