How to change field alignment of Integer type from right to left side on workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2023 02:21 AM
Hi
I want to change alignment of integer type field from right side to left side on workspace. I tried field styles and onload client script but did not work. How can I achieve this?
function onLoad() {
//Type appropriate comment here, and begin script below
var myField = 'estimated_usd'; // add correct name here
var ctrl = $('sys_display.' + g_form.getControl(myField).id);
var displayControl = g_form.getControl('estimated_spend_usd');
displayControl.style.background = 'red';
ctrl.style.textAlign = 'left';
}
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
any workaround available?
