CheckboxList field default value

Discussion in 'Tips and tricks' started by nadworks, Sep 21, 2019.

  1. nadworks

    nadworks Member

    Joined:
    Apr 20, 2015
    Messages:
    106
    Likes Received:
    13
    S.E:
    2019-12-16 02:05:25
    L.T:
    Regular
    L.C:
    2
    Is there a way to set the default value of an optional checkboxlist field?
    I have a number of content options users can opt out of via the "profile" (=preferences) page after initial signup. However upon first sign-up, all these options should be active by default.
    To keep my signup form short, I'm only asking for FNAME, LNAME, EMAIL. The optional fields (COUNTRY, CONTENT_PREF etc.) are then available to be edited through the profile page.

    If content preferences are...
    A
    B
    C

    ... when all ticked, the field would contain A, B, C.

    So I tried to set "A, B, C" as default value for this field with the hope that this would always populate the field for each new record. However the field stays blank.
    Any idea?
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,354
    Likes Received:
    2,406
    Unfortunately we don't have a solution for this ...
     

Share This Page