Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
fixes on formbuilder_required_marker to change to be more tidy on form
i guess...
.
on formbuilder.core.js
function formbuilder_widgets_switch_required(row_id){
$.each($(row_id + ' input[@type!="hidden"] , ' + row_id + ' textarea, ' + row_id + ' select'), function(k, v){
$(v).toggleClass('
');
});
if($(row_id + ' .formbuilder_required_marker').length)
else
};
function formbuilder_draw_widget_area(div){
$(div).append('<div id="formbuilder_widgets_area" style="display:none"><h2>' + gettext('formtitle') + ' ' + gettext('clic_to_edit') + '</h2><div id="formbuilder_rows"></div>');
$('#formbuilder_widgets_area').fadeIn('slow');
$('#formbuilder_widgets_area').append('<p><span></span> <br> ' + gettext('required_lab') + '<input type="hidden" id="counter_rows" value="0" />' + '<input type="hidden" id="counter_fieldset" value="0" /></p>'); <<< *change
formbuilder_widget_fieldset();
set_editable();
};
on formbuilder.css
div#_ex_formbuilder_rows .formbuilder_label p {
margin: 0;
margin-bottom: 0px;
display:inline; <<< change
}
.formbuilder_required_marker { <<< change
color: red;
font-weight: bold;
font-size: 100%;
position: inherit;
}
.formbuilder_required .formbuilder_required_marker { <<< change
position: inherit;
left: 0px;
top: 0px;
}