Opened 3 years ago

# Groups Not Persisting with Conditional Tickets

Reported by: Owned by: sgcode thomasd normal GroupTicketFieldsPlugin normal Group breaking, ticket types, falkb 1.0

### Description

I am using the Conditional Field Plugin and when I initalize a new ticket the group is displayed correctly, but then when I change the ticket the fields within the group are reverted into the main group.

Is there any way for the group to stay intact even when the ticket type is changed, and just remove the fields within the group that are not associated with the that particular ticket type?

Thanks,

### comment:1 Changed 3 years ago by anonymous

screenshot of reverted fields?

### comment:2 Changed 3 years ago by sgcode

So as you can see from the screen shot, the checkbox fields are breaking away from their grouping. Originally all the checkboxes are in the bottom grouping, but then when I change the ticket type all the checkboxes that are associated with that new ticket get moved up into the main area and the ones that it does not get left behind.

### comment:3 Changed 3 years ago by anonymous

Could you please try http://trac-hacks.org/wiki/CondFieldsGenshiPlugin ? It does the same but maybe it doesn't disturb the "properties" tag of the HTML stream which is needed for this plugin. You know, GroupTicketFieldsPlugin detects that element this way in ticket.py:line74:

    filter = Transformer('//fieldset[@id="properties"]')

Version 0, edited 3 years ago by anonymous (next)

### comment:4 Changed 3 years ago by sgcode

Yes I have tried that but the problem is that the user would like the fields to show and hide without having to press the preview button.Is there anyway that we could have that happen?

### Modify Ticket

Change Properties