Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Get value from text on page and set to Hidden Field ID #9197
    kemiga
    Participant

    Did you read my e-mail??

    in reply to: Get value from text on page and set to Hidden Field ID #9191
    kemiga
    Participant

    I’ve sent you an e-mail..

    in reply to: Expanding form scripts #9071
    kemiga
    Participant

    Ok tried this and it worked. I know it’s a temporary workaround, but it worked:


    // Fade all errors in
    $('.iphorm-errors-wrap', $form).fadeIn(1000).show();

    $('.iphorm_1_5-group-wrap').show(); <-- added this unique line
    $('.iphorm_1_10-group-wrap').show(); <-- added this unique line

    And when submitting the form again & if having success, I added the following part:


    // Custom success callback
    if (typeof settings.success === 'function') {
    settings.success();
    }
    });

    $('.iphorm_1_5-group-wrap').hide(); <-- added this unique line
    $('.iphorm_1_10-group-wrap').hide(); <-- added this unique line
    $('.iphorm-submit-input-wrap-4').hide(); <-- added this unique line

    Thanks for the hints. Will look forward to the new plugin updates.

    • This reply was modified 11 years, 4 months ago by kemiga.
    in reply to: Expanding form scripts #9068
    kemiga
    Participant

    I found the code:

    $('.iphorm-errors-wrap', $form).fadeIn(1000).show();

    Could you be more specific what to do and what to add?

    I guess you want to say add the following after the code above?

    $('.iphorm_1_5-group-wrap').show();

    • This reply was modified 11 years, 4 months ago by kemiga.
    in reply to: Expanding form scripts #9062
    kemiga
    Participant

    Hi Ally,

    Thanks for the reply.

    Well for me the easy workaround could be just to show the groups again if the error message appears.

    How can I show the groups again if it there is an error?

    in reply to: Expanding form scripts #9018
    kemiga
    Participant

    Ok, so I got to hide the groups.. but I still need to show all the groups again if there is an error.

    For example, if some of the required fields is not filled.

    .iphorm-errors-wrap

    How to show the groups again if the form is not sent because of the missing required fields?

    in reply to: Expanding form scripts #9016
    kemiga
    Participant

    I actually found out how to hide the group. Might help others:


    <script type="text/javascript">
    jQuery(document).ready(function ($) {
    $('#show-section-2').click(function () {
    $(this).remove();
    $('.iphorm_1_10-group-wrap').slideDown();
    $('.iphorm_1_5-group-wrap').hide();
    $('.iphorm-submit-wrap-2').show();
    return false;
    });
    });
    </script>

    Just insert the .hide line below into the already existing code above

    $('.iphorm_1_5-group-wrap').hide();

    Cheers

Viewing 7 posts - 1 through 7 (of 7 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy