Typo3 Formhandler Default Values not working -


I have a problem with typo 3 and default values. I add them like this:

  preprocessors {1.class = Tx_Formhandler_PreProcessor_LoadDefaultValues ​​1.config {1 {name.defaultValue = text name.defaultValue.value = name email.defaultValue = text email. DefaultValue Data = e-mail}}}  

And here's my HTML template:

   

That does not seem to work if I put those values ​​directly into my template-file, then the required check will not work. Make sure I'm confused ...

If you have nested in this config exactly what it should be, (

  plugin.Tx_Formhandler.settings.preProcessors {1.class = Tx_Formhandler_PreProcessor_LoadDefaultValues ​​1.config {1 {name.defaultValue = text name.defaultValue.value: when the top layer of your TS) placed = name}}}  

on the other hand, DefaultValue still has a value, so if I placeholder for you to understand right, you HTML Instead of attribute (want to use any TS config) No need)

  & lt; Input placeholder = "Your online name" class = "input_textfield" type = "text" = "formhandlerfooter [name]" id = "name" value = "### Muly_nav ###" / & gt;  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -