Set default value for number field

Support General Set default value for number field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8551
    tsqueztsquez
    Participant

    Is there a way to set a default value for the number field?

    Is there a way to set a default value for the slider field?

    Just curious if this can be done. Thank you.

    #8555
    Anh TranAnh Tran
    Keymaster

    Hi, please use “std” parameter.

    #8558
    tsqueztsquez
    Participant

    Hi there,

    I did however it did not show what I had entered? This is what lead me to ask the question.

    #8584
    Anh TranAnh Tran
    Keymaster

    I've tested and it works for me. Did you add the field for an existing post? The std parameter only works for new posts, or posts that the meta box hasn't saved before. I guess your post has an existing meta box that already saved at least once before. Can you check that?

    #8587
    tsqueztsquez
    Participant

    Hi Anh Tran,

    You are of course correct, again...lol!!! Thganks for checking into it.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Set default value for number field’ is closed to new replies.