• Resolved gxwpm

    (@gxwpm)


    Hey,

    Sorry if I miss a post about it, I’m searching about this since days.

    My main goal is to disable or somehow prevent submissons with getting some data that is out of form. It’s like a payment form that prevents user to submit if his balance is below a limit. I get that balance data from a shortcode or function.

    So, I can’t use form’s conditional logic because only place I can use a shortcode on is html field. But that field can’t transfer its value anywhere.

    I’ve tried some workarounds like passing that value from html field to other fields like text, number and hidden, tried to pass it variable as a value, tried to set a default value directly from caldera insert shortcode etc but no luck, my coding skills not enough for it. Can I get your help for it?

    I need to find a way to get a data from my shortcodes or functions and put them on the form to do some logic on submissions like disabling button etc.

    Thanks,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Setting Default Field Value Dynamically’ is closed to new replies.