Support » Plugin: WP Data Access » Default value not working

  • Resolved alessandro100318

    (@alessandro100318)


    The values defined as default value in the project template (TINYINT (1) for checkbox) appear correct in the entry form but are not saved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Peter Schulz

    (@peterschulznl)

    What is the default value? And what value is saved?

    Where does this happen? On the back-end or the front-end? If on the front-end, which shortcode are you using?

    Thanks,
    Peter

    Thread Starter alessandro100318

    (@alessandro100318)

    In the project template, ‘Data Entry’ section, in correspondence with the default value of a tinyint(1) type column which has a default of 0 in the database, I entered 1.
    When I open the form to insert a new record, the flag appears checked but after the submit the value remains at 0.
    All this in the back-end.
    I haven’t tried the front-end yet.

    Thread Starter alessandro100318

    (@alessandro100318)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.