# Bug AUTOWORK-417 - Form and Workflow radio buttons to use existing/configure new end up in invalid state

Project: Stream Workflows & Automations
Status: review approved
URL: https://community.openproject.org/work_packages/AUTOWORK-417

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Type/Variants and Workflows |
| Target versions | 18.0.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | David Friquet |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Create a new variant via the wizard
    
2.  Go to the Form step
    
3.  Select &quot;Configure a new form&quot; from the radio buttons and choose any of the two options
    
    1.  The form editor opens
        
4.  Now select &quot;Use an existing form&quot; and click Save in the dialog without choosing a different form
    

### What is the buggy behavior?

*   It looks like nothing has happened
    
    *   This is actually okay for the form, as choosing the same form results in no changes
        
*   The radio button stays at &quot;Configure a new form&quot; even though you just confirmed &quot;Use an existing form&quot;
    

### What is the expected behavior?

*   The option to use the newly-created is not present in the dialog selector (i.e, it lists all existing forms except the current one you&#x27;re creating as part of the wizard)
    
*   If the user changes their selection to pick an existing form, abandoning the unsaved new form, the unsaved form is deleted when the user clicks on &#x27;Next&#x27;.
    

###   

### Screenshots and other files

_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/927064/content">_

###
