Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile_get_field_data datebox issue Via Ajax


  • codiiv
    Participant

    @codiiv

    Hello guys,

    I have been trying for some time now to save date from a datebox field using xprofile_set_field_data as follows:

    $field_id = 2522;
    $user_id = 1;
    $FinalDate = "2016-05-14 00-00-00"; // Reconstituted from an ajax request 
    $field_updated = xprofile_set_field_data($field_id , $user_id, $FinalDate);

    For some reason I can’t figure this out.

    Any pointers?

  • You must be logged in to reply to this topic.
Skip to toolbar