The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 4
Joined: Feb 9, 2016
Company: CTC

Hi,

How can I force the user to enter a value for an input field in a form. For example, if I have a customer field in sales order document, how can I state and force the user to enter value for customer field, otherwise, a validation should prevent the form from saving until the value is set for this field?

thanking you,
Mubarak

 
#2
People who like this: 1 Yes / 0 No
Just came
Rating: 1
Joined: Jan 22, 2015
Company:

Hello. The simplest way for do this is "Fill check" property on "Presentation" page of attribute. You need set property to "Display error" value.

 
#3
People who like this: 1 Yes / 0 No
Active user
Rating: 4
Joined: Apr 18, 2012
Company:

Hi.
Also try properties "AutoMarkIncomplete" and "InputHint" of an input field in a form.
They help to attract user attention.

 
#4
People who like this: 0 Yes / 0 No
Active user
Rating: 4
Joined: Feb 9, 2016
Company: CTC

Thank you very much for both of you Valerii and Alex. The combination of your answers is exactly what I was looking for
have great day.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)