Closed (duplicate)
Project:
Conditional Fields
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2008 at 09:35 UTC
Updated:
20 Dec 2008 at 01:15 UTC
Hi!
I think a useful add-on for this module would be the ability of resetting the value of controlled fields, when they are set invisible.
The problem I see with the current behaviour is:
Field1 controls Field2
1. The user selects a value for field 1
2. The user is then presented with field2 and chooses an alternative
3. The user selects another value for field 1 (changed his mind, bloody user!) :)
4. The controlled field (field2) is now invisible, but the value is still selected and gets submitted to database...
If the module would be able to reset the value when setting the controlled field as invisible, the problem would be fixed.
What do you think?
Comments
Comment #1
vermario commentedI was wondering... maybe selecting the option of "disabling" the controlled field would fix this? If I remember correctly, disabled fields are not saved to the database.
Comment #2
peterpoe commentedThis is duplicate of #226001: Reset controlled fields to default values if untriggered .