Hello,
I built a form for my team where I have a repeater field attached to a Single Product. The issue I have is that the product price is calculated in the total. I would like the repeater field to default to Null so that if one of my employees ADDs the field, the product is then added.
I think this is what you're going for. Check this out -> https://www.canva.com/design/DAGDek42SCo/srV8SA5QJdnlBCqg4_Na7g/watch?utm_content=DAGDek42SCo&utm_campaign=designshare&utm_medium=link
Great innovative solution Bobby!
Bobby, thank you so much!!! works perfectly!!!!!!
I want to make sure I understand your request. Am I correct that A. You have a repeater section and one of the fields in it is a calculation. B. When you add a repeater row, you want the value "Domain Total" to be empty, rather than the value of zero which is the result of the calculation?
Not exactly. Here is a video I shot, maybe this will help: https://somup.com/cZfTr35fhL
Great idea on the video. So I wasn't even close :). Let me try an educated guess this time. You want the initial state of your repeater section to have ZERO rows, instead of how it defaults to one row?
Correct!
There is the frm_repeat_start_rows that will allow you to set the number of rows you want to see. I just tested this hook and set the start rows to 0. It also removes the add and remove buttons because they are part of the row. What you want to do isn't possible without custom code.
Please login or Register to submit your answer