ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

How to clear Selected value in radios group inside a repeater area by clicking on button "Repeater Add"

serguei_kp 28 Dec, 2020
Hello,
I have a radios group with a default selected value inside a repeater area.
It shows default fields on first load.
w_1.JPG

How to clear a default Selected value in radios group when I click on the button Repeater Add?
w_2.JPG
I would like to have radios group empty with no preselected default value every time I add a new row by clicking a button.

In Events of Repeater Add button a tried several combinations:

Click > Clear value > Affected elements:
1. #service_type{var:area_repeater8.key}
2. service_type
3. Modelservices[{var:area_repeater8.key}][service_type]

In older versions of Chronoforms I named fields in old style and it worked fine :
Name: Modelservices[{var:area_repeater8.key}][service_type]
Id: service_type{var:area_repeater8.key}
and so on for all fields inside the repeater area...

In actual version of chronoforms is 6.1.4 I have to name fields like this in order to make it partially work:
Name: service_type
Id: service_type{var:area_repeater8.key}
but it works only when select a value in the radios group,
when click on Repeater Add it loads only radios group with selected default value but without loading fields that I specify in Events.
w_3.JPG

Please help.
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com