# editable form

**URL:** <https://forum.servoy.com/t/editable-form/8342>\
**Category:** Classic Servoy\
**Created:** [November 1, 2007, 2:31pm UTC](https://forum.servoy.com/t/editable-form/8342 "2007-11-01T14:31:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [November 1, 2007, 2:31pm UTC](https://forum.servoy.com/t/editable-form/8342/1 "2007-11-01T14:31:02Z")

</div>

How can I create a form that allows the user to add new fields and delete fields. Thus each record will have different number of fields.

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [November 1, 2007, 2:36pm UTC](https://forum.servoy.com/t/editable-form/8342/2 "2007-11-01T14:36:14Z")

</div>

The easiest is to create a related table to the form you are on. Create at least four fields in it:

- primary key
- foreign key
- fieldname
- fieldvalue

Make a tableview on this table that display fieldname and fieldvalue. Put it on the main form using a tabpanel. Create a button on the main form that creates a related record in the tabpanel.

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [November 1, 2007, 2:47pm UTC](https://forum.servoy.com/t/editable-form/8342/3 "2007-11-01T14:47:22Z")

</div>

How do I go about to create this related table. Will this table created on a different form?  
Sorry, I’m very new to Servoy so there are many things I don’t understand.

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [November 1, 2007, 2:50pm UTC](https://forum.servoy.com/t/editable-form/8342/4 "2007-11-01T14:50:50Z")

</div>

Well if you are that new to Servoy I’m not sure this exercise is the right place to start. Have you followed all the tutorials on our website and had a good read through our documentation?

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [November 1, 2007, 2:53pm UTC](https://forum.servoy.com/t/editable-form/8342/5 "2007-11-01T14:53:52Z")

</div>

I see what you mean about creating a new table…my bad

I’ve watched your flash tutorial but haven’t read your documentation.
