Login Retreive lost passwordRegister
Search

Forum Index / General / conditions submit with suffix

[ This topic is solved ]

  Daniel 01 February 12 / 14:05  
I am very new at typo3 and want to build a form with two submit buttons.
I tried the follow the example as described in:
http://www.typo3-formhandler.com/documentation/templates/subpart-markers/submit-nextstep-suffix/
and so added 2 markers:
###submit_nextStep_trial###
###submit_nextStep_order###

But i didn't manage to use the condition in typoscript.
I want to change the subject a an email depending on the button pressed, and tried the following:

       subject = COA
       subject.1 = TEXT
       subject.1.value = New Customer Request
       if {
          1 {
            conditions.OR1.AND1 = step-2-next|trial
            isTrue {
              3 {
                subject.2 = TEXT
                subject.2.value = Trial
              }
            }
            else {
              subject.2 = TEXT
              subject.2.value = Order
        }
        }
      }

which doesn't work. How do I have to use the condition correctly in that case?

Thanks, Daniel

  Johan Wiegel (Admin) 01 February 12 / 14:08  
This site is not about the Formhandler package for Typo3.

I'm afraid I can't help you

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license