Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Required Fields marker

Former Member
0 Likes
411

Hi,

I have a screen where all fields are required to proceed.

Option 1:

Mark the field as required in the screen painter. Now they have this little sign for a required field. Problem is that I have toogle display/change button. Upon that button - it is not an exit command since I am not leaving the screen - the fields are checked automatically, but I want to be able to toggle despite the fact that not all fields are filled yet.

Option 2:

Do NOT mark the field as required in the screen painter but have a self made check in the PAI if all required fields are filled. This way the toggle button works fine, but the fields do not have the required marker.

So the question is how can I achieve the toggle button and the required marker in the input boxex?

Thanks.

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
343

1) Use the exit command anyway. You can then switch b/w edit/read modes without problem. It does not mean you have to exit the program, it just skipps the validation to the fields.

2) in screen painter go to input field attributes and select input = recommended . This way you will have still this litte mark in the field without having the field mandatory for input. So you do your custom check.

Regards

Marcin

1 REPLY 1
Read only

MarcinPciak
Active Contributor
0 Likes
344

1) Use the exit command anyway. You can then switch b/w edit/read modes without problem. It does not mean you have to exit the program, it just skipps the validation to the fields.

2) in screen painter go to input field attributes and select input = recommended . This way you will have still this litte mark in the field without having the field mandatory for input. So you do your custom check.

Regards

Marcin