copy name and date in multistep form

Home Forums Quform WordPress copy name and date in multistep form

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35240
    yannis
    Participant

    I have a 4 page (multi-step) form and some fields are repeated from page to page:
    a name field
    a date field

    What I have done so far:
    The following code has worked for copying from 26_9 to 26_452_(1 to 4).
    The following code has worked for copying from 26_9 to 26_453_2 (first name) and 26_453_4 (last name).

    The code is:

    jQuery(function ($) {
    $('.quform-input-26_9 input').blur(function () {
    $('.quform-field-26_452_1').val($('.quform-field-26_9_1').val());
    $('.quform-field-26_452_2').val($('.quform-field-26_9_2').val());
    $('.quform-field-26_452_3').val($('.quform-field-26_9_3').val());
    $('.quform-field-26_452_4').val($('.quform-field-26_9_4').val());
    $('.quform-field-26_453_2').val($('.quform-field-26_9_2').val());
    $('.quform-field-26_453_4').val($('.quform-field-26_9_4').val());
    });

    Question: How to add code to copy date from 26_389 to 26_318?

    #35243
    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.

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