Get option value instead of option label

Home Forums Quform WordPress Get option value instead of option label

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32568
    ms4545
    Participant

    Hello,
    I have created a booking form. The last page of this form is a review-page so that customer can see what has been chosen.

    I have inserted this Java Script snippet:
    $(‘.quform-field-1_93’).click(function () {
    $(‘#kondition-value’).text($(this).closest(‘.quform-option’).find(‘.quform-option-text’).text());
    });

    Here I can catch the label of what has been chosen in radio button field 1_93.
    However I don’t want to pick field labels – Instead I want to get field values as I have defined in elements settings.
    What do I need to adjust in this coding?

    Thanks
    Mehmet

    Attachments:
    You must be logged in to view attached files.
    #32572
    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.

    #32573
    ms4545
    Participant

    Great – This works perfectly! Thank you so much Ally

Viewing 3 posts - 1 through 3 (of 3 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