Project

General

Profile

Actions

Bug #69957

closed

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

EXT:form - Fix some problems with Container elements

Added by Björn Jacob over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-09-24
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

There are some findings on RADIOGROUP and OPTIONGROUP.

  • values are not visualized on the confirmAction view
  • after the validation prohibited to go from showAction to confirmAction, all options of the option-group are checked/activated, for the radio-group, the selected value is not updated, it uses the default value defined in TypoScript

enctype = multipart/form-data
method = post
prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        layout {
            label = <b><em><labelvalue /></em></b>
        }
        senderEmail = foo@test.com
        recipientEmail = foo@test.com
    }
}
10 = HEADER
10 {
    class = content-header
    headingSize = h1
    content = Some form...
}
20 = FIELDSET
20 {
    legend {
        value = Yay!
    }
    10 = TEXTLINE
    10 {
        name = firstName
        placeholder = First name
        label {
            value = First Name
        }
    }
    20 = TEXTLINE
    20 {
        name = lastName
        placeholder = Last name
        label {
            value = Last Name
        }
    }
    30 = TEXTLINE
    30 {
        name = email
        placeholder = oliver@hader.name
        label {
            value = E-Mail
        }
    }
    40 = CHECKBOXGROUP
    40 {
        class = fieldset-subgroup
        legend {
            value = Preference
        }
        name = preference
        10 = CHECKBOX
        10 {
            label {
                value = Option 1
            }
        }
        20 = CHECKBOX
        20 {
            label {
                value = Option 2
            }
        }
        30 = CHECKBOX
        30 {
            label {
                value = Option 3
            }
        }
    }
    50 = RADIOGROUP
    50 {
        class = fieldset-subgroup
        legend {
            value = Choice
        }
        name = choice
        10 = RADIO
        10 {
            label {
                value = Option 1
            }
        }
        20 = RADIO
        20 {
            label {
                value = Option 2
            }
        }
        30 = RADIO
        30 {
            checked = checked
            label {
                value = Option 3
            }
        }
    }
}
30 = SUBMIT
30 {
    name = submit
    value = Submit
}
rules {
    1 = required
    1 {
        breakOnError = 0
        showMessage = 1
        message = Required
        error = This field is required
        element = email
    }
    2 = email
    2 {
        breakOnError = 0
        showMessage = 1
        message = (john.doe@domain.com)
        error = This is not a valid email address
        element = email
    }
}


Subtasks 2 (0 open2 closed)

Bug #70091: EXT:form - Typos in the partialsClosed2015-09-24

Actions
Bug #70095: EXT:form - Wrong Checkbox and Radiobutton handlingClosed2015-09-24

Actions

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #69971: EXT:form Error at Mail sending / ObjectStorage could not be converted to stringClosedBjörn Jacob2015-09-19

Actions
Related to TYPO3 Core - Task #69369: EXT:form - Use property value instead of data for TEXTAREA, TEXTBLOCK, OPTIONClosed2015-08-27

Actions
Actions

Also available in: Atom PDF