always show 'g_form.showFieldMsg'

Mi4
Tera Expert

Hi,

This is a simple question.

I'm a record producer and want to always have a message at the bottom of the field.

How is it best practice to implement it?

 

Thank you in advance,

1 ACCEPTED SOLUTION

Hitoshi Ozawa
Giga Sage
Giga Sage

Comment out the generated isLoading || newValue if condition block.

function onChange(control, oldValue, newValue, isLoading) {
   //if (isLoading || newValue == '') {
   //   return;
   //}

   g_form.showFieldMsg('field_1', 'This is a showFieldMsg message', 'info');
   
}

find_real_file.png

View solution in original post

7 REPLIES 7

Mike Patel
Tera Sage

Just create onLoad client script or UI policy for it.

Hi,

Thank you.

I've tried both, but when I enter the value, the message disappears.

 

Regards,

R B
Tera Contributor

Hello,

 

Were you able to resolve it? how to make this message not disappear?


regards,

RB

Hitoshi Ozawa
Giga Sage
Giga Sage

Comment out the generated isLoading || newValue if condition block.

function onChange(control, oldValue, newValue, isLoading) {
   //if (isLoading || newValue == '') {
   //   return;
   //}

   g_form.showFieldMsg('field_1', 'This is a showFieldMsg message', 'info');
   
}

find_real_file.png