[TYPO3-project-formidable] Customize errors

Izzie Greys izzie.greys at gmail.com
Mon Jul 28 12:10:21 CEST 2008


Hello everybody,

I would like to know how to use the error tag without using a template.
Indeed in my form I use TS and recombine so I can't use {myerrortag}. I have
the errors which appear on the top of my form and I don't know how to
customize them (deplace them, add color...)

Part of my form:

<renderlet:BOX name="edition-box">
   <wrap>
         <![CDATA[
              <fieldset>
                  |
              </fieldset>
          ]]>
  </wrap>
  <process>
       <userobj>
             <php><![CDATA[/*<?*/
                    return $this->oSandBox->shouldDisplayForm();
              /*?>*/]]></php>
       </userobj>
  </process>
  <childs>
        <renderlet:TEXT name="username" label="Login">
                    <validators>
                        <validator:STANDARD>
                            <required message="Login Required" />
                        </validator:STANDARD>
                    </validators>
                    <recombine>
                        <userobj>
                            <ts>
                            <![CDATA[
                                10 = COA
                                10 {
                                    10 = TEXT
                                    10.value < username.label
                                    20 = TEXT
                                    20.value < params.input
                                    10.wrap (
                                    <label>|</label>
                                    )
                                    20.wrap (
                                    |
                                    )
                                }
                                10.wrap (
                                    <div>|</div>
                                )
                                ]]>
                        </ts>
             </userobj>
       </recombine>
     </renderlet:TEXT>
</childs>
<:renderlet:BOX>

Can I do something ? Or it's not working without template file ?

Thanks in advance.

Regards


More information about the TYPO3-project-formidable mailing list