• Resolved shaunbowen

    (@shaunbowen)


    I’m trying to set up a form that calculates the price of a service based on a set list of 44+ postcodes. I have used the ‘Autocomplete’ select field so a user can partially fill the field to narrow down the results. This also has the advantage that I can paste all 44 postcodes and their relative prices into the ‘Bulk Insert’ section, saving me hours of time inputting individual values. I use the | separator to allow pasting of both option name and value.

    The problem arises with saving the form, as it tells me all values must be unique. However some of my postcodes share a price and this is used to calculate the total price with a calculation field.

    Is there any way to disable the warning for field values to be unique? With price table calculations surely this will be a common problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor christiechirinos

    (@christiechirinos)

    Hi Shaun,

    Thanks for using Caldera Forms, and I’m sorry you’re having this inconvenience. We wouldn’t recommend turning off the warning for field values to be unique – having multiple repeats of a field value will slow your form down. My recommendation would be to condense the postcodes that share a price.

    I apologize that there isn’t an easier answer, and I hope the plugin can still work for you despite this limitation.

    CC

    Thread Starter shaunbowen

    (@shaunbowen)

    Hi Christie, Can you explain how I would go about condensing the postcodes?

    For instance, there may be a postcode of SG13 that has a value of £250, then a postcode of TW3 that also has a value of £250. How would you recommend I calculate for both?

    My current workaround is to have the first value as 250 and the second as 250.0, then further duplicates as 250.00, 250.000, 250.0000 etc. so the calculated value is still the same.

    I know that Ninja Forms gives its list items 3 fields – LABEL, VALUE and CALC VALUE, where only the first two need to be unique.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate Values necessary (not unique)’ is closed to new replies.