Feature Request CSForms : Conditional logic on Input elements & submit buttons

Hi @Themeco Team,

I am currently working on a three-step form where I would like a “Next” button to appear based on conditional logic—for instance, only if all the 3 checkboxes are checked.

I notice that while certain INPUT elements do have conditional logic settings in their “primary options,” this is not the case for submit or “Next” buttons.

Maybe i missing something, but do you know if it’s actually possible to display a button based on input status criteria ?

Thank you

Florian

Hey Florian,

Thanks for writing in!

The Submit button should have a condition field.
image

You might be using a component. We would be happy to double check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

1 Like

Hi @ruenel

I’d be glad to share the access, but to be honest the module I’m currently working on isn’t finished at all, or even presentable yet… I’m still experimenting.

Let’s say my current problem is understanding how to design a “step-by-step” form with CSForms.

Today I ran a test using the “slider inline” prefab, using the “next” and “prev” buttons as “continue” and “back” buttons. The problem is that they’re always displayed, since they’re slide controllers, but I need to know how to hide them. And at the end, only display a “submit” button to submit the form.

In my use case (a layout for subscriptions) , I’d also like to make the display of the “next” button conditional on completion of the required inputs, in order to move to the next screen…

I know you can replace the slider’s prefab navigation with inputs buttons by assigning them the custom attributes “data-x-slide-prev” and “data-x-slide-next” to scroll the slider — that works! But there’s still this question of conditional display (Back hides on the first slide, Next appears once all inputs are filled in/checked, etc., and Submit appears only at the end when everything is completed).

Hence my “feature request” regarding conditional display of inputs, somewhat like Gravity Forms.

I’m not sure if this is very clear, but thank you for your help.

Here is some screenshot to illustrate

Thanks,

Florian