Closed (fixed)
Project:
Conditional Fields
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2015 at 07:53 UTC
Updated:
24 Jul 2017 at 13:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jtblalock commentedI'm seeing the same issue. We're using conditional fields to show a custom text box at the end of a check box list and are trying to empty the field if text is entered and then the custom check box is UNchecked, but the data isn't emptied and it's still saved to the db.
Comment #2
Patrick Bauer commented+1
Same issue here.
Comment #3
youkho commentedSame issue too
Comment #4
peppchios commentedSame issue here.
Any ideas?
Comment #6
peterpoe commentedComment #7
TheJoker commentedpeterpoe, I do not work, do not reset the price
Comment #8
peterpoe commented@TheJoker: Please provide some context (at least field types used and dependency configuration), it's very hard to debug otherwise.
Comment #9
TheJoker commentedIf you switch the type of field should be updated with the price to zero, as the cost in terms. And the list must also be zeroed, if you switch the type of money, but this is not happening.
I tried. It seems that is "emptied" does not work in any combinations.
Maybe there is another way, or I did not do something right do. How to make that change when the previous field is reset to zero?
Thank you!
Comment #10
lisotton commentedWe tested and it's working fine.
Just posting the patch file.
Comment #11
lisotton commentedComment #13
argh911 commentedThis patch seems to be part of the latest dev build, but it still doesn't solve my issues.
I have a list, when value 1 is selected input1 must display, and be required, input2 is hidden. I have these set up and working.
When list has value 2, input1 is hidden, input2 must display and be required. I have these set up and working.
When list has value 2, input1 must be emptied. This does not work even with this patch.
Comment #14
nwom commentedClosing this, since it has already been included in the newest dev.
@TheJoker: Please look at the following issue: #596612: Option to delete/reset values in hidden fields on condition change?