Merge pull request #2288 from norahmollo/BUG-14025
BUG-14025 Ability to apply conditional show/hide when re-viewing 'partic...
This commit is contained in:
@@ -2629,7 +2629,7 @@ class XmlForm_Field_YesNo extends XmlForm_Field
|
||||
}
|
||||
} else {
|
||||
//VIEW MODE
|
||||
$html .= '<span id="form[' . $this->name . ']">';
|
||||
$html .= '<span id=" ' . $this->name . ' ">';
|
||||
$html .= ($value === '0') ? G::LoadTranslation( 'ID_NO_VALUE' ) : G::LoadTranslation( 'ID_YES_VALUE' );
|
||||
$html .= '<input ';
|
||||
$html .= 'id="form[' . $this->name . ']" ';
|
||||
|
||||
@@ -461,6 +461,7 @@ if ($actionAjax == 'historyDynaformGridPreview') {
|
||||
</script>
|
||||
<?php
|
||||
|
||||
$_SESSION['CURRENT_DYN_UID'] = $_POST['DYN_UID'];
|
||||
$_SESSION['DYN_UID_PRINT'] = $_POST['DYN_UID'];
|
||||
$G_PUBLISH->AddContent( 'dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_POST['DYN_UID'], '', $Fields['APP_DATA'], '', '', 'view' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user