Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
I need help with a script. Basically: form filler checks a box, a subset of fields appear for form filler to complete. If form filler changes their mind and unchecks the box, the subset of fields disappear but information entered does not clear. I need to clear all information entered when checkbox is unchecked. Thanks!
The simple answer is 'FeldName.rawValue = "";' simply include the line of code for each field that you want to clear the value with in the same code that makes them hidden.
The simple answer is 'FeldName.rawValue = "";' simply include the line of code for each field that you want to clear the value with in the same code that makes them hidden.