[Typo3] mailformplus : write data in a table with <select> and radio

Rob De Vries spam_this at pandora.be
Fri Sep 9 10:09:29 CEST 2005


Hey listers,

I'm working with the superb mailformplus ext. I have made a form and add 
a table in the database with the kickstarter.

I've already managed to add some data to the table but I can't get it to 
work with <select> and <input type="radio" ... />

some examples i use in the form:
RADIO BUTTON:
<input type="radio" name="Dementenafdeling" id="Dementenafdeling" 
value="Ja" ###checked_Dementenafdeling_Ja### />
         Ja<br />
<input type="radio" name="Dementenafdeling" id="Dementenafdeling" 
value="Nee" ###checked_Dementenafdeling_Nee###/>


SELECT:
<select name="burgelijke_stand" id="burgelijke_stand" size="1">
           <option value="gehuwd" 
###selected_burgelijke_stand_gehuwd###>gehuwd</option>
           <option value="alleenstaand" 
###selected_burgelijke_stand_alleenstaand###>alleenstaand</option>
           <option value="weduwe" 
###selected_burgelijke_stand_weduwe###>weduwe</option>
           <option value="weduwenaar" 
###selected_burgelijke_stand_weduwenaar###>weduwenaar</option>
         </select>

I do know that the select data isn't stored as the value itself in the 
database, but whit a corresponding number; 1= gehuwd, 2 = alleenstaand, 
etc ...
so how do i get this submitted in the right way?

I have read all information I've found on this subject (except the 
answer ofcourse ;)
http://typo3.org/documentation/document-library/th_mailformplus/Saving_the_submitted/
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/624/?tx_maillisttofaq_pi1%5Bmode%5D=5

any help is appreciated

rob



More information about the TYPO3-english mailing list