Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #262423

    I have an online intake (content) form I created from the “content elements.”
    http://bodymindlinks.com/book-a-session/

    After clicking the “submit” button I would like it to be automatically directed to a new page.
    How is this accomplished?
    Thank you.

    #262532

    Hi!

    Try this (the line may have changed, do a search and find):
    https://kriesi.at/support/topic/contact-form-redirection/#post-166771

    Regards,
    Josue

    #262597

    Where and how do I find what js/shortcodes.js?
    Do I have to look for that code, or can I just add it in the “Quick CSS”?

    I would like the user to be redirected to my payment page after the click the “submit” button from the contact form.

    #262601

    Hi!

    No, it’s not that easy, the shortcodes.js file is located in the in the enfold/js folder. You can do this change via FTP + text editor or with this plugin that let you edit any file of the theme from the Dashboard.

    The exact location where you need to add the code is after line 2438 (Enfold 2.7.1):

    window.location="http://Payment Page URL Here";
    

    Cheers!
    Josue

    #263604

    Where do I do once I click “edit” for that plug in?
    Here is a shot of what I’m looking at Josue:

    #263606

    is it in this section:

    “//delete file
    if(isset($_GET[‘delfile’])){
    $delfile = $theme->get_stylesheet_directory() . $file;
    if(file_exists($delfile)){
    unlink($delfile);
    echo ‘<script type=”text/javascript”>
    <!–
    window.location = \’themes.php?page=scte-theme-editor&theme=’ . urlencode($theme->template) . ‘\’;
    //–>
    </script>’;
    exit();”

    #263611

    What would the “function name” be?

    #263614

    There are 3 areas where is has “window.location” listed.
    Thank you for your help.

    #263621

    Hey!

    You are trying to edit the plugin, what you need to edit is the theme, go to Appearance > SC Theme Editor, then navigate to the js folder, open avia.js, look for line 2438 and add the line i suggested in my previous post.

    Regards,
    Josue

    #264115

    The line I see only goes up to 1573.

    #264119

    Hey!

    It’s shortcodes.js not avia.js, my bad.

    Cheers!
    Josue

    #264185

    That line says:

    “send.button.fadeOut(300);”

    Do i delete all that and paste:
    window.location=”http://Payment Page URL Here”;

    ?
    Thank you

    #264193

    #264204

    It worked, thank you so much for your dedication to help find a solution I appreciate your time Josue.
    Good job buddy!

    #264207

    You are welcome, glad we could help :)

    Regards,
    
Josue

    #631753

    It worked

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘submit button linked to a new page’ is closed to new replies.