Forum Replies Created

Viewing 15 posts - 16 through 30 (of 45 total)
  • Author
    Posts
  • in reply to: Redirect depending on value #13245
    brabox
    Participant

    Thank you Ally!

    in reply to: Send and Success Message side by side #9503
    brabox
    Participant

    Thank you Allan,

    I was able to get it just right.

    in reply to: Send and Success Message side by side #9494
    brabox
    Participant

    Hello Allan,

    Yes, i have set it to below.

    The link is Homepage.

    Thank you!.

    in reply to: Send and Success Message side by side #9454
    brabox
    Participant

    i have a button shortcode inside the success message where i would like to be displayed next to the Send button of the form

    in reply to: On Submit and valid email address – Download File #9429
    brabox
    Participant

    Thank you Ally,

    #3 is the closet to what i want since i do not want it to take to another page.

    I will try it out today.

    Thank you!.

    in reply to: Adding Image to Dropdown Option #8810
    brabox
    Participant

    Thanks,

    i will try out the plugin.

    in reply to: Remove Submit Button #8789
    brabox
    Participant

    Thank you Josef777.

    I thought there was another way, didnt know if that was the correct one.

    Worked perfectly.

    in reply to: Conditional Logic Not Showing in Backend #7054
    brabox
    Participant

    Perfect Ally,

    I had done the update through FTP but i guess i had to completely delete the iphorm folder instead of substituting it.

    Now it id working fine!

    Topic solved.

    in reply to: Email Validation Submit #6914
    brabox
    Participant

    Ally,
    thank you again,

    above code worked perfectly.

    Thanks,

    Marco

    in reply to: Limit Digit Amount #6913
    brabox
    Participant

    Thank you Ally,

    i had to add ” instaed of ‘ to make it work.

    this is how it looks with more than one element.

    <script>
    jQuery(document).ready(function ($) {
    $(".iphorm_22_31, .iphorm_22_54").attr('maxlength', '5');
    });
    </script>

    Thanks!

    Marco

    in reply to: Limit Digit Amount #6864
    brabox
    Participant

    Hello Ally,

    the length validator is working fine. i set it to minimum 5 and max 5. The error messages are working fine.

    But what i wanted is the limit the # of characters the client can type in the field, i do not want him to go over X amount.

    This is a simple HTML example for max 10 characters:

    <input type=”text” id=”Textbox” name=”Textbox” maxlength=”10″ />

    in reply to: Call PHP form #6615
    brabox
    Participant

    Thank you Ally, I received your email and it worked!!

    For anyone else trying to accomplish this, this is how i got it to work and my setup.

    In wordpress, i created 2 pages.

    1 – Page name (Calculator) = with the quform shortcode – [iphorm id=”22″ name=”Calc Eco EN”]
    2 – Page name (Resultpage) = I got my themes page.php and added my PHP code into the content area and saved it as a separate template (EXAMPLERESULT.PHP), then uploaded back via FTP to the child-themes folder. So when i created my 2nd page, I simply choose on the right hand side of wordpress (Template) my own template EXAMPLERESULT.PHP. (this link was also used on the URL of the PHP code below)

    In my child-themes-function I added Ally’s code which was on this link.

    // Code from Themecatcher for Calculator 1
    //

    function my_form_redirect($url, $form)
    {
    $data = array(
    'nameqty' => $form->getValue('iphorm_22_1'),
    'lnameqty' => $form->getValue('iphorm_22_23'),
    'emailqty' => $form->getValue('iphorm_22_2'),
    );

    $data = array_map('rawurlencode', $data);

    $url = add_query_arg($data, 'https://www.mysite.com/resultpage/');
    return $url;
    }
    add_action('iphorm_success_redirect_url_22', 'my_form_redirect', 10, 2);

    Now (only the begging of my PHP code) this is how my PHP code starts:

    //define variables and set to empty values
    $nameqty = $_GET ['nameqty'];
    $lnameqty = $_GET ['lnameqty'];
    $emailqty = $_GET ['emailqty'];

    So basically, $nameqty is getting [‘nameqty’] that is equal to iphorm_22_1. (each form will be different).

    Br,

    Marco

    in reply to: Call PHP form #6588
    brabox
    Participant

    Thank you Ally,

    I have sent an email.

    in reply to: Call PHP form #6557
    brabox
    Participant

    Ally,

    Thank you for the link.

    I have tried that link as well as This onebefore several times with no luck… I cannot find what i am doing wrong.

    I saw that another user was able to accomplish this Here. But i could not get it to work.

    Is there any email i can send you the link so you can take a quick look? i am sure it is something “small” easy that i am missing….

    in reply to: Call PHP form #6546
    brabox
    Participant

    Ally,

    So my current setup looks like this.

    Wordpress Calc page with this code inside:

    <form action=”www.example.com/formcalculator.php” method=”post”>
    [iphorm id="#_HERE" name="IPHORM_NAME_HERE"]
    </form>

    formcalculator.php with my code which has the Unique IDs etc..from the quform Calc.

    When i click send it works and all the data is being “read” into the formcalculator.php file.

    The only thing that is NOT working is that now i can simply click SEND even though the form has all elements as REQUIRED.

    Any ideas?

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