Searching for guidance as to why the three fields ( BodyTypeTTTrailer/BodyTypeVTTrailer, and TrailerConvertedMobileHomeText) reappear on making a selection of the CustomerCountyCodes2dropdown. Thanks in advance- kemper
Adobe Community Professional, May 16, 2021May 16, 2021
Nesa Nurani • Adobe Community Professional, May 16, 2021May 16, 2021
Your condition in CustomerCountyCodes2dropdown are not set correctly, you used if selection is not "Select City" or if selection is "Select City" also you don't need to make variable for dropdown field, use "event.value". You have a lot of codes so you should also make sure that "Field calculation order" is set correctly.
Your condition in CustomerCountyCodes2dropdown are not set correctly, you used if selection is not "Select City" or if selection is "Select City" also you don't need to make variable for dropdown field, use "event.value".
You have a lot of codes so you should also make sure that "Field calculation order" is set correctly.
Thank you Nesa for your guidance! I found this past post on the matter by try67 and will repost for anyone else confused about when to use event.value etc vs variables.
**To summarize, event.value represents the field's new value, while event.target.value represents the field's current value.
The former is not available all the time, only in the events that were triggered by the change of the field's value, like Validation, Calculation, Format and Keystroke. The other events are triggered by the user interacting with the field in some other ways (entering it, exiting it, clicking it, etc.), and not by changing its value, which is why event.value doesn't exist for them.
This can be a bit confusing for some types of fields, like radio-buttons and check-boxes, where clicking themdoeschange their values, and then event.target.value can return either the new value or the old one, depending on at what triggered the event: Mouse Down will return the field's old value, while Mouse Up will return the new value, which was just applied to it by clicking it.