---
title: "no rendering of added required fields"
url: "https://www.typo3.net/d/79150-no-rendering-of-added-required-fields"
source: "typo3.net"
tags: ["Extensions","Direct Mail","English","Frage"]
created: "2008-07-04"
last_reply: "2010-06-14"
replies: 2
solved: false
page: 1
pages: 1
lang: "en"
---

# no rendering of added required fields

Extensions · 2 Antworten · gestartet 2008-07-04

## Eröffnungsbeitrag

**Flattesterik** · 2008-07-04 · [Beitrag #1](https://www.typo3.net/d/79150-no-rendering-of-added-required-fields/1)

hi all,

i have problems to render required fields in my directmailtemplate.
The only required fields i have for subscription are name and email (from a/the default template).

whenever i copy/paste the part from name ( <!--###SUB_REQUIRED_FIELD_name### begin
	This is shown only if the form is submitted and the field is configured to be "required" and at the same time not filled in.
	The syntax is of the comment 'name' is: 	SUB_REQUIRED_FIELD_[enter-the-field-name-here]
-->
	<font color=red><strong>You must fill in this field!</strong></font><BR>

<!--###SUB_REQUIRED_FIELD_name### end --> )

and i change the fieldname from name to first_name, they sub_required_field tag is shown in the template as it is, and is not hidden at first.

in my typoscript setup code i have this. the html=1 entry works, so some part of the TS is correct, but the part for first_name is totally ignored.

```typoscript
plugin.feadmin.dmailsubscription{
  table=tt_address
  create.overrideValues.disable = 1
  create.overrideValues.module_sys_dmail_html = 1
  create.required = first_name, email, last_name, name
  edit.required = first_name, email, last_name, name
}
```

Anybody knows why the new required field is not rendered?

Thnx in advance!

## Antworten

### [#2](https://www.typo3.net/d/79150-no-rendering-of-added-required-fields/2) · Flattesterik · 2008-10-03

nobody? i'm still having this problem  #angry#
it's the same problem as here: [/d/27876-sub-required-field-feld-wird-nicht-ersetzt](https://www.typo3.net/d/27876-sub-required-field-feld-wird-nicht-ersetzt)

### [#3](https://www.typo3.net/d/79150-no-rendering-of-added-required-fields/3) · Blurry · 2010-06-14

> **Flattesterik schrieb:**
>
> and i change the fieldname from name to first_name, they sub_required_field tag is shown in the template as it is, and is not hidden at first.

I just stumbled over the same problem. "SUB_REQUIRED_FIELD_name" works, "SUB_REQUIRED_FIELD_first_name" or "SUB_REQUIRED_FIELD_phone" doesn't. Were you able to resolve this?

---

Quelle: „no rendering of added required fields“, typo3.net, https://www.typo3.net/d/79150-no-rendering-of-added-required-fields
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
