Required Form

Hi, i know it seems simple, but it isnt working, I have a form :

```php



{include
file="example.tpl"
type="radio"
value="example"
default=example
name="example"
label="example"

required="required"
}




{include
file="example.tpl"
type="text"
default=$example
name="example"
label="example"

required="required"
}



```
And the required, doesnt work at all. Some advise.

You questions is not quite clear. Should the form contain required fields? Please specify the content of the “example.tpl” file?

Hi,

In the example.tpl, doesn matthers what it containt.

The problem is the “required” in that form, that it doesnt works.

I will soo you a exemple, this input can be put in a form, and il wortk perfectly:




I want the same thing to put in this include :
{include
file="example.tpl"
type="text"
default=$example
name="example"
label="example"

required="required"
}

[quote name='florinsurdu' timestamp='1401288614' post='184450']

Hi,

In the example.tpl, doesn matthers what it containt.

The problem is the “required” in that form, that it doesnt works.

I will soo you a exemple, this input can be put in a form, and il wortk perfectly:




I want the same thing to put in this include :
{include
file="example.tpl"
type="text"
default=$example
name="example"
label="example"

required="required"
}


[/quote]



Sorry, still no sense

Thanks, i find what i need. Problem solved.