• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

Howard Jennings

Reviewed Andi North on June 2, 2020 at 5:03 am

Used Andi for a complicated multi-pafge form that had multiple calculations using data form other software and he completed the project perfectly. at a reasonabl price. Did everything he said he'd do. Andi is my goto guy now.


Hide Dropdown field options base on selection in another dropdown

Hi I have 2 dropdown fields, States [211] lists the US states Deductibles [210] lists 5 deductibles, values are i.e. FIC - 0.002 . I'm trying to hide the deductibles based on the state you select. If you select MI as the state I need deductible 1, 2 & 3 hidden If you select any other state I need deductible 4 & 5 hidden I'm tying to use this script in the 'After Fields' bit to do it, which I've cobbled together from other scripts that work, but this doesn't 🙁 probably because I've no idea what I'm doing. I would also like to use it in a repeater section, if that makes a difference, it's not in a repeater at the moment, but that's the goal. If anyone can help it would be much appreciated <script type="text/javascript"> //Hides deductibles if not available jQuery(document).ready(function($){ $('select[name="item_meta[211]"]').change(function(){ var val1 = $("select[name='item_meta[211]']").val(); if (val1 == 'MI - 0.00943') jQuery("select[name='item_meta[210]']").children('option[value="SWBC - 0.0"]').css('display','none'); jQuery("select[name='item_meta[210]']").children('option[value="FIC - 0.0"]').css('display','none'); jQuery("select[name='item_meta[210]']").children('option[value="Seattle - 0.002"]').css('display','none'); else if (val1 !== 'MI - 0.00943') jQuery("select[name='item_meta[210]']").children('option[value="Seattle - 0.0"]').css('display','none'); jQuery("select[name='item_meta[210]']").children('option[value="FIC - .003"]').css('display','none'); }); }); </script>

Duplicate date in a repeater with data from another repeater

Hi I have a repeater section that collects addresses in rows. I have another section (currently a repeater) where the client can select options for those addresses. I need to copy to 'row number' and 'street' fields from the first repeater into the second repeater. Both are in the same form. I will be doing calculations to the property options in the second section. you can see the early stages of my form here https://www.statesideapm.com/1aa-bi-app-test/ The first section is on page 2 the second section is on page 3

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC