• Resolved artzygrrl

    (@artzygrrl)


    Having some trouble with this plugin. I’m using the developer version.

    Seems the plugin doesn’t want to “validate” (at least I’m guessing that’s the problem) so the “submit” button doesn’t work and the form won’t submit when it’s been filled out. We’re supposed to have people registering for this event, but the registration is working only intermittently…

    I have some other questions that could possibly be answered simply (don’t know much jscript but I am a beginner)…
    If I wanted to have the 6-digit code field be restricted to 6-digit codes that start with the digits 18, I was thinking I could have a number field with a range of 180000-189999 and have it be hidden and have a short answer field that has an “equal to” function, but it appears I can’t make number fields be hidden!?

    Also, I’m wondering if there’s a way to make the coupon codes work in my “grand total” so the final-final amount is the correct amount? Since the coupon code comes after the rest of the form, there seems to be no way to make it add up.

    Really, getting the form to submit its information is my main problem at this point, but the other things would make the form more usable for people who are trying to register.

    ASAP response would be much appreciated as we’re trying to make it work on a schedule. Thank you so much!

    • This topic was modified 6 years, 2 months ago by artzygrrl.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter artzygrrl

    (@artzygrrl)

    Also, I’m wondering if it’s possible to have 3 payment choices if I’m using Paypal PLUS…right now we want to have the group be able to pay with a check, an individual pay with a check, and paypal. But if I change the paypal to allow options, I can only do 1 other payment option.

    Plugin Author codepeople

    (@codepeople)

    Hello @artzygrrl,

    There are different questions in your email.

    I’ve tested your form, and the validation rules are working fine, however, the captcha is failing, the reason is simple and it is related with the website’s settings. The domain of your website is:

    https://wfbcladies.org/

    However, the resources are being loaded from:

    https://ladiesdev.wisconsinfellowship.org/

    and for security reasons the browser does not allow the AJAX call between different domains, please, look the screenshot visiting the following link:

    https://wordpress.dwbooster.com/customdownloads/2018/04/screenshot_ajax.png

    Concerning to values of number field, if you want restrict the number between 180000 and 189999, you simply should insert a number field, select the “Digits” option for the format attribute, and enter the number 180000 into the “min” attribute, and the number 189999 as the “max” attribute.

    If you want hide a field, you simply should enter the special class: hide through the “Add CSS Layout Keywords” attribute in its properties. That a field be hidden does not mean that its validation rules are not evaluated. An option to hide a field without check its validation rules is defining it as dependent of another field. More information in the following link:

    https://cff.dwbooster.com/documentation#dependencies

    About the discount coupons, entering a coupon code the plugin displays an icon beside the input field, and pressing it, would be showed a text with the final cost, and the discount applied below the coupon field, please, look the screenshot visiting the following link:

    https://wordpress.dwbooster.com/customdownloads/2018/04/screenshot_coupon.png

    Note: The issue with the website’s domains will occur with the coupons too.

    If need to integrate multiple payment gateways with your form, you will need the Platinum version of the plugin, the Professional and Developer versions only allow PayPal as the payment gateway. The complete list of features distributed with each version of the plugin is available in the following link:

    https://cff.dwbooster.com/download#comparison

    Best regards.

    Thread Starter artzygrrl

    (@artzygrrl)

    Thank you so much for your reply. It was EXTREMELY helpful! I was beginning to panic a little, thinking maybe this plugin wasn’t going to work as we had hoped. But, it pulled through. 🙂

    Removing the captcha fixed the problem of the failure to submit, which was the greatest problem. That was easy.

    The number restriction was difficult. I wanted to have a 6-digit code “range” that all the chosen codes would be taken from, and then, once the values were satisfied, for the “grand total” form I had set up to display the “discounted” total, and otherwise to display the original total from farther up on the form. I ended up with IF(fieldname40>=180000 && fieldname40<189999, prec(fieldname33,2), prec(fieldname10,2)) (since we were going to use 6-digit codes beginning with 18), and that set it up to display either the hidden field with the discount already calculated (33) or the one without the discount (10). Once I figured out the best way to put that into the IF string (took a lot of trial and error) it worked exactly right. Your suggestion was spot-on for how to do that.

    The coupon code fix was easy too – it’s not anywhere in the documentation that I could find (maybe I missed it, but I read through several times) that clicking that little checkbox shows the revised total, but that was exactly what I was looking for.

    Also, figured out a way to distinguish between the other 2 payment types, both of which somewhat fit into the “pay later” category. Since they were both “pay by check” type options, I just had people who were writing a personal check to pay fill in the check number at the end of the form just above the coupon code. If they don’t fill it in, then we assume they’re paying their group leader who will pay for the group all at once either by check or paypal. That’s all we really needed was a way to track which one it was, and that solution worked great for us.

    All in all, your response was super helpful. I am so glad we purchased this plugin for our organization and you can bet I’ll be sharing it with anyone I know who uses WordPress. Thank you!

    Plugin Author codepeople

    (@codepeople)

    Hello @artzygrrl,

    It has been a pleasure to help you.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trouble getting my form to validate/submit’ is closed to new replies.