How we can use the javascript in joget, we try all the option which are available in link, but we can't able to enable the javascript or any coding language. Anything we write in the section it display as it is.

Confluence User - 03 Jul, 2023
javascript

1


04 Jul, 2023
confluenceUser
confluenceUser

Use the Form Custom HTML element to place your Javascript as shown in the example below:

<script>
$(document).ready(function() {
	$('#status, #jobtype').on("change", function(){
		var jobtype = FormUtil.getValue("jobtype");
		var status = FormUtil.getValue("status");
		$('#combine').val(jobtype + status).change();
	});
});
</script>

or 

<style>
.form-cell-value label, .subform-cell-value label {
    float: none;
    width: 100%;
}
<\style>

You can also insert JS and CSS codes in the "Userview Builder > Settings > Advance > Custom CSS & Custom JavaScript" property fields.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print