# Single editor for form event and control event

**URL:** <https://talk.openmrs.org/t/single-editor-for-form-event-and-control-event/26639>\
**Category:** Bahmni\
**Created:** [February 4, 2020, 6:25am UTC](https://talk.openmrs.org/t/single-editor-for-form-event-and-control-event/26639 "2020-02-04T06:25:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![snehabagri](https://talk.openmrs.org/letter_avatar/snehabagri/32/5_5575768a8748004e209b776fc1b2916d.png) [@snehabagri](https://talk.openmrs.org/u/snehabagri)\
**Post date:** [February 4, 2020, 7:11am UTC](https://talk.openmrs.org/t/single-editor-for-form-event-and-control-event/26639/2 "2020-02-04T07:11:37Z")

</div>

Find the mock for the editor below:

 ![AllFormConditonsEditor](https://talk.openmrs.org/uploads/default/original/2X/d/d33b22e86ca099b015132588bcb20454554ebdfa.png)

**Description for mock:**

- We will have a form conditions button similar to form event.
- Click on this button will open a new screen (popup) as seen in 2nd image.
- The new screen will be broken in 3 parts, form event, control event and save event.
- Under control events we will have all the controls with their id and name, by default only controls which already have form condition will be loaded.
- For controls which do not already have form condition we will have a multi-select dropdown, we can select all the controls for which we want to enter form condition, after selection we need to click on show.
- To remove an existing control we have ‘x’ button against each, clicking on it will remove the control and delete any form condition in it.

@angshuonline @sowmika @vmalini @binduak

---

_[View the full topic](https://talk.openmrs.org/t/single-editor-for-form-event-and-control-event/26639)._
