Std value is missing with disabled set to true

Support General Std value is missing with disabled set to trueResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11314
    HazmiHazmi
    Participant

    Hi,

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

    #11323
    Anh TranAnh 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
    HazmiHazmi
    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 TranAnh 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
    HazmiHazmi
    Participant

    Hi,

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

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