[TYPO3-seminars] Limit multiple seats

Sebastian Afeldt safeldt at creativconcept.de
Wed Sep 1 02:39:23 CEST 2010


Hello Niels,

Thanks for your help. But I'm afraid I'm not experineced in TypoScript. 
I was able to affect the select-box, but the only effect that I could achive is
that the select-box is empty. 

I also tried something like this

plugin.tx_seminars_pi1.form.registration.step1.elements.seats.data.items {
  1.value = 1
  2.value  = 2
  3.value  = 3
}
which had no effect at all or

plugin.tx_seminars_pi1.form.registration.step1.elements.seats.data {
  items = COA
  items.10 = HTML
  items.10.value = <option value="1"  selected="selected" >1</option><option value="2" >2</option><option value="3" >3</option>
}

Too late for better ideas, I guess. 

Do you have another hint for me?

Greets

Sebastian


  _____  

From: Niels Pardon [mailto:typo3_lists at niels-pardon.de]
To: typo3-project-seminars at lists.typo3.org
Sent: Tue, 31 Aug 2010 22:12:56 +0200
Subject: Re: [TYPO3-seminars] Limit multiple seats

Hi Sebastian!
  
  Am 31.08.2010 21:33, schrieb Sebastian Afeldt:
    > I would like to limit the number of seats   attendees can reserve in
  their seminar registration, but I couldn't find   a solution for this
  problem.
  
  You might want to try modifying the following setting in TypoScript setup:
  plugin.tx_seminars_pi1.form.registration.step1.elements.seats.data.items
  
  Further you might want to add a validator for this element which checks
  for the maximum number of seats in:
  plugin.tx_seminars_pi1.form.registration.step1.elements.seats.validators
  
  Greets,
  
  Niels
  
  _______________________________________________
  TYPO3-project-seminars mailing list
  TYPO3-project-seminars at lists.typo3.org
  http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-seminars
    


More information about the TYPO3-project-seminars mailing list