Task #76866
closed
EXT:form - Handle checkbox and radio correctly in confirmation and postProcessor
Added by Gianluigi Martino almost 8 years ago.
Updated over 5 years ago.
Sprint Focus:
On Location Sprint
Description
Show value of checkbox and radio in confirmation and send via html and plain mail if inserted.
- Status changed from New to Under Review
- Subject changed from EXT:form - Send value of checkbox in html mail to EXT:form - Handle checkbox and radio correctly in confirmation and postProcessor
- Description updated (diff)
It is way more complexe than thought in the first run. We have to tackle some more places. The following data shows a comparison with v6.2.
Confirmation¶
- checkbox: <label /> <inputvalue /> code
- radio: <label /> <inputvalue /> code
This never worked in 6.2 which means the value was never shown.
Mail HTML¶
- checkbox: <td style="width: 200px;"><label /></td><td><inputvalue /></td> code
- radio: <td style="width: 200px;"><label /></td><td><inputvalue /></td> code
This worked in 6.2.
Mail Plain¶
This never worked in 6.2 which means the value was never shown.
Test example¶
enctype = multipart/form-data
method = post
prefix = tx_form
confirmation = 1
postProcessor {
1 = mail
1 {
recipientEmail = forms@tritum.de
senderEmail = forms@tritum.de
subject = Test
}
}
10 = CHECKBOX
10 {
type = checkbox
name = contact_checkbox
value = Check value.
label {
value = Check label?
}
}
20 = RADIO
20 {
type = radio
name = contact_radio
value = Radio value.
label {
value = Radio label?
}
}
30 = SUBMIT
30 {
type = submit
name = 3
value = Send
}
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Sprint Focus set to On Location Sprint
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF