Hidden field value from a custom field in WordPress db

Home Forums Quform WordPress Hidden field value from a custom field in WordPress db

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7038
    Jesus
    Participant

    Hello Ally, everyone.

    I’m trying to use a hidden field on a form getting a value from a custom WP database field, this hidden field will be used for an external database connection.

    My custom field its named: {$options[‘MyID’]}”

    On my form, I’m trying to put this code inside my hidden field default value:

    {$options[‘MyID’]}”

    with no luck, as while running my form the field its displaying like this:

    <input type=”hidden” name=”iphorm_2_7″ value=”{$options[MyID]}” />

    and not the proper database value.

    Will you please explain to me how can I get the proper value and place it on my hidden field as I need it?

    This value could be different every time someone uses the form as the custom field (MyID) could vary per record.

    Thanks in advance,

    Jesus

    #7043
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #7044
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #7102
    Jesus
    Participant

    We’re close, not yet working. Please check your email for latest info.

    Thanks

    Jesus

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy