1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Edit Form - Date is not populating in text box

Edit Form - Date is not populating in text box

3 posts, 0 answered
  1. Qainan
    Qainan avatar
    24 posts
    Registered:
    25 Oct 2011
    23 Jan 2012
    Link to this post
    Hi,

    In registration form there is Date of Birth field and its working fine.

    Now same field I want to populate in date of birth text box in user profile. Although other fields are working properly for e.g. First name, Last name etc.

    Code is :
    <sf:TextField ID="dateOfBirth" runat="server" DataItemType="Telerik.Sitefinity.Security.Model.SitefinityProfile" DataFieldName="babysDateOfBirth" DisplayMode="Read, Write" CssClass="text"></sf:TextField>

    I can able to see saved date of birth in Administration->Users. Screen shoot attached

    Regards,
    QainanIdris.com
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    26 Jan 2012
    Link to this post
    Hello,

    Can you please let us know if you have added this custom field to the basic profile or to a custom profile, and how you're persisting the value in the users edit screen. Generally the only thing that you need to make usre is that the DataFieldName is the same as the name of your custom field (when you use the default option for inserting the field, it will insert it with and Eval syntax - you can check for the field ID there.

    Kind regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Qainan
    Qainan avatar
    24 posts
    Registered:
    25 Oct 2011
    30 Jan 2012
    Link to this post
    Hi dude,

    I am doing same as per your instructions. Strange part is all other fields are working OK except DateTime field. Is there any formatting issue?

    Regards,
    QainanIdris.com
3 posts, 0 answered