Custom Fields
Re-Envisioned
Support General Default value in radio field

This topic contains 3 replies, has 2 voices, and was last updated by  proyectohappyweb@gmail.com 3 weeks, 1 day ago.

  • Creator
    Topic
  • #13967
    Resolved
    proyectohappyweb@gmail.com
    Participant

    Hello,

    In the field ‘type’ => ‘radio’, how can I put the default value?
    I try wiht the: ‘std’ => 1, ‘std’ => ‘1’, ‘std’ => ‘value_name’ … and not do nothing.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #13968

    I use custom table to save the values.

    #13976

    Anh Tran
    Keymaster

    Hi, the std takes a value from the options attribute of the field.

    Don’t that work on new posts?

    #13986

    Sorry… On new posts it run yes… I was updating existing posts…

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.