CiviCRM 5.20.0 Drupal 7.69 iATSPayments 1.7.1 Webform/Civi Integration 7.x-4.28
This webform is used for non-taxdeductible giving. I have two categories set at the top of the form, giving for food and lodging while visiting campus and assisting our short-term volunteers with the cost of their food and lodging. Often donors will want to set up a monthly recurring if they are assisting with our our volunteers food and lodging. But visitors do not want/need to have monthly recurring just for a visit to campus. So, I used conditionals to only show the parts needed for the option they start with. If they choose to give to food and lodging, then I do not show "I want this to recur monthly" and I have Recurring monthly default set to no. But all giving to this is created as a recurring contribution. You can select "Payment for short-term staff room and board" and it shows the "I want this to Recur" with the default of NO and if you leave it on No, it does not create it as recurring.
I changed my conditional for the first option so that "I want this to Recur" is set to No. But I get the same results. It creates all contributions for this option as recurring.
Additional info: The attached screenshot shows how I have Options set for civicrm_1_contribution_1_contribution_installments so it sends it as a number. The Value is what the consumer sees visually, the Key is the number that gets sent to civicrm_contributions_installments. It is obviously sending it as a number because it does work for the second option when people give to cover room and board for volunteers, with that they can choose to have it recur or not recur. There is only one civicrm_1_contribution_1_contribution_installments on my form so both options are using the same installments question.
The problem is, it is overriding my default = 1 AND my conditional to set civicrm_1_contribution_1_contribution_installments to 1. It is putting it in the installments column with a 0. But only for the first option of the form, the second option is working as designed.