fixed: DataForm doesn't keep posted values properly when data fails validation
This commit is contained in:
parent
62b45785bf
commit
8ac4215606
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
- fixed: some default assets have ids shorter than 22 characters
|
||||
- fixed: failure when submitting a dataform that sends mail with an empty file field
|
||||
- fixed: DataForm ignores height on textarea fields
|
||||
- fixed: DataForm doesn't keep posted values properly when data fails validation
|
||||
|
||||
7.6.0
|
||||
- added: users may now customize the post received page for the CS
|
||||
|
|
|
|||
|
|
@ -651,7 +651,7 @@ sub getRecordTemplateVars {
|
|||
for my $field (@fields) {
|
||||
# need a copy
|
||||
my $value;
|
||||
if ($entry) {
|
||||
if ($entryData) {
|
||||
$value = $entryData->{ $field->{name} };
|
||||
}
|
||||
elsif (!$ignoreForm && defined (my $formValue = $self->session->form->process($field->{name}))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue