Support

Account

Home Forums Front-end Issues Populate Text Field from Query String Value

Unread

Populate Text Field from Query String Value

  • Hi
    How can i pass a variable to a text field using query string. In my case i’m allowing frontend users to add an image gallery to their stores. I am using a custom posty type with store id as a key but can’t figure out how to auto populate a text field with query string value.

    here is an example
    https://example.com/add-gallery/?store_id=5039

    I want a text box to prefetch the variable store_id

    Thx!

Viewing 1 post (of 1 total)

The topic ‘Populate Text Field from Query String Value’ is closed to new replies.