Custom Fields
Re-Envisioned
Support General Std value is missing with disabled set to true

This topic contains 4 replies, has 2 voices, and was last updated by  Hazmi 5 months, 1 week ago.

  • Creator
    Topic
  • #11314
    Resolved
    Hazmi
    Participant

    Hi,

    if i have setup “std” option to “0” together with “disabled” to true, then the value is empty after post save..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #11323

    Anh Tran
    Keymaster

    Hi Hazmi,

    When you set a field disabled, its value won’t be submitted. Thus, there’s no value saved. Please see this answer on Stack Overflow for more info.

    #11325

    Hazmi
    Participant

    Hi,

    there is no value saved only if i have “std=>0” .. if i have anything else then “0”, the value is saved – it’s ok?

    #11336

    Anh Tran
    Keymaster

    Hi Hazmi,

    Can you please check again? I’ve just tested on my localhost and the std value is not saved, no matter the value is, when the disabled attribute is set to true.

    Here is my video:

    http://recordit.co/29FjNuuQAU

    #11339

    Hazmi
    Participant

    Hi,

    i checked it again and don’t see a problem now.. :/ Thank you for your time.

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

You must be logged in to reply to this topic.