• Resolved PortMacOnline

    (@portmaconline)


    Hi David,
    I have a need for a feedback form where if someone leaves a rating of 4-5 stars they are re-directed to a ‘positive experience’ webpage, but if they leave a rating of less than 4 stars they are re-directed to a ‘negative experience’ webpage.

    Can your conditional logic handle something like this at the moment, or would it be something you could add in the near future? TIA.
    Terry Chadban

    https://wordpress.org/plugins/caldera-forms/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor David Cramer

    (@desertsnowman)

    Hi Terry,
    It can indeed.

    I don’t currently have a star rating field, but can add one for you. In the meantime you can use a radio or dropdown.

    Then, add a redirect processor for the positive page. In the conditional tab of the processor, select “Use” and add a conditional group, then set the field is greater than 3.

    You can then add another redirect processor and do the same as before except set the field is less than 4. This should do the trick nicely.

    Thread Starter PortMacOnline

    (@portmaconline)

    Hi David,
    Thanks for the prompt and helpful reply! Yes, a radio button sequence would do the trick for now, but a star rating field would be an awesome addition for a future version.

    I will give your suggestion a go and see how we get on. Thanks again.
    Terry Chadban

    Plugin Contributor David Cramer

    (@desertsnowman)

    You’re welcome.
    I have pushed the update that includes a star rating field. v1.0.2

    Please consider giving the plugin a rating. Thanks.

    Thread Starter PortMacOnline

    (@portmaconline)

    Hi David,
    Consider it done! Both the multiple re-directs and star ratings work perfectly with the latest update (v1.0.2). If your viewers are interested, I have set up a demo feedback form on one of our demo sites at http://prototypes.portmaconlinedemos.com/feedback/

    The form is active and should re-direct them to a negative or positive page when they click on the star rating and submit the form, so they can get the idea from there even though it is just a bare-bones setup.

    A couple of things that you might like to think about for a future version, some sort of dropdown menu selection for forms in the main Caldera Forms dashboard — at the moment when I have finished making or editing a form it is necessary to click on the main Caldera Forms link, then select a form from the radio buttons. Maybe a dropdown menu across the top where the tabs are now would help.

    The ability to export/import a complete form would definitely make our job easier, rather than having to construct new forms from scratch for each client.

    And the ability to ‘favourite’ certain fields, like First Name, Last Name, etc, would be great as well. I have seen this executed in another contact form plugin, but can’t remember which one at the moment (Old-Timers’ Disease!).

    But a great addition to an already great plugin, deserving of five stars already!
    Terry

    Plugin Contributor David Cramer

    (@desertsnowman)

    Thanks Terry!

    I am already working on export and importing forms, so that should be ready soon.

    Creating a favorites list of fields is a nice idea and will look into it.

    A Dropdown in the tabs: Is this to jump to editing another form?

    Thread Starter PortMacOnline

    (@portmaconline)

    Hi David,

    A Dropdown in the tabs: Is this to jump to editing another form?

    Yes, at the moment when you first click on the ‘Caldera Forms’ tab you get a list of available forms with a radio button to select the one you want to edit, or you have the option to click on the ‘New form’ button.

    But once you have selected the form you want to edit, then finished editing it, the only way to edit another form is to go back to the ‘Caldera Forms’ tab and start all over again. If there was a dropdown menu at the top of screen, where you now have the Caldera Forms logo and header and the tabs for Feedback, General Settings and the Update button, it would make it easier to move straight into editing the next form without having to go back out to the ‘Caldera Forms’ tab and come back in again.

    Incidentally, I discovered this the hard way because I set up all the forms that I needed on my local test site, got them working the way I needed, then copied the designs into the online test site. But I forgot to add the ‘Submit’ button to all three of the forms — and the forms don’t do much without a ‘submit’ button! 😉
    Terry

    Plugin Contributor David Cramer

    (@desertsnowman)

    Hi Terry.

    Got it. I’ll see about adding it in.

    I know that some form builders automatically add a submit button. I chose to make it an element as I wanted to be able to place the button anywhere. I also wanted to make forms that don’t have a Submit button as in the Caldera Form Metabox extension.

    On another note, I found a bug in the star rating field that in some themes (like yours) the stars have a textfield behind it. I have an update coming to fix it.

    Thread Starter PortMacOnline

    (@portmaconline)

    Hi David,

    I know that some form builders automatically add a submit button. I chose to make it an element as I wanted to be able to place the button anywhere

    Yes, that isn’t a bad idea, but maybe you could put a message on the page somewhere reminding dummies like me that you will usually need a ‘submit’ button on a form if you want it to actually do anything. 🙂

    Yes, I noticed the textfield behind the stars, but it wasn’t a major problem for me because that site is only a test and demo site. But it would be great if you could fix it up, just to improve the look.

    Another one for the wish list is an option to format the phone number field differently — not all countries use the US format of (555)555-5555. Here in Australia we use a two digit state code as in (05)5555-5555.

    And of course you have got the mobile phone (cell phone in the US) format of (5555)555-555 as well, so an option to set the format, or radio buttons listing all the options would be great. You already have a radio button listing the local and international formats, so maybe you could add the extra format options to that? Or maybe have a separate element for mobile phones like the phone number element but formatted for mobile phones?
    Terry

    Plugin Contributor David Cramer

    (@desertsnowman)

    HI Terry, I have added in a custom option for the phone number where you can define the format mask manually.

    Also the update fixes the star rating issue.

    With a submit button. I was going to add in a notice, but then thought a person will figure it out very quickly.

    See v1.0.3 for updates.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Conditional Logic Question’ is closed to new replies.