# autoenter element name

**URL:** <https://forum.servoy.com/t/autoenter-element-name/3791>\
**Category:** Classic Servoy\
**Created:** [March 3, 2005, 8:50am UTC](https://forum.servoy.com/t/autoenter-element-name/3791 "2005-03-03T08:50:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcr159](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lcr159](https://forum.servoy.com/u/lcr159)\
**Post date:** [March 3, 2005, 8:50am UTC](https://forum.servoy.com/t/autoenter-element-name/3791/1 "2005-03-03T08:50:09Z")

</div>

If, in my form, I need to have every field with its element name, I would like to set a preference that sets the element name to dataprovider name while creating it.  
I will save a lot of time.

---

<div class="post-metadata">

**Author:** ![Odysseus](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@Odysseus](https://forum.servoy.com/u/Odysseus)\
**Post date:** [March 3, 2005, 9:56am UTC](https://forum.servoy.com/t/autoenter-element-name/3791/2 "2005-03-03T09:56:35Z")

</div>

Hum, maybe I’m misunderstanding but isn’t this what you do when placing fields on a form through the add field dialog. There is a checkbox for filling out the element name ?

HTH

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [March 3, 2005, 10:04am UTC](https://forum.servoy.com/t/autoenter-element-name/3791/3 "2005-03-03T10:04:22Z")

</div>

would really like it, on the Add Field dialog, the setText and SetName checkboxes would default to Checked, or even better: Have some setting somewhere to set their default.

Paul

---

<div class="post-metadata">

**Author:** ![lcr159](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lcr159](https://forum.servoy.com/u/lcr159)\
**Post date:** [March 3, 2005, 12:10pm UTC](https://forum.servoy.com/t/autoenter-element-name/3791/4 "2005-03-03T12:10:23Z")

</div>

> Odysseus:  
> Hum, maybe I’m misunderstanding but isn’t this what you do when placing fields on a form through the add field dialog. There is a checkbox for filling out the element name ?
> 
> HTH

that’s it… every day I learn something more!!

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [March 3, 2005, 5:18pm UTC](https://forum.servoy.com/t/autoenter-element-name/3791/5 "2005-03-03T17:18:21Z")

</div>

> pbakker:  
> would really like it, on the Add Field dialog, the setText and SetName checkboxes would default to Checked, or even better: Have some setting somewhere to set their default.
> 
> Paul

Servoy “remembers” the state of the checkboxes. So, if you set them once - they will stay the same during that whole session.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [March 3, 2005, 5:28pm UTC](https://forum.servoy.com/t/autoenter-element-name/3791/6 "2005-03-03T17:28:15Z")

</div>

ok, but couldn’t they go to checked by default? ![:D]( "Very Happy")

I know, I’m lazy ![:roll:]( "Rolling Eyes")

but i think that more often you would want Servoy to automatically fill the name and text than not.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [March 3, 2005, 5:42pm UTC](https://forum.servoy.com/t/autoenter-element-name/3791/7 "2005-03-03T17:42:15Z")

</div>

> but i think that more often you would want Servoy to automatically fill the name and text than not.

exactly!
