cancel
Showing results for 
Search instead for 
Did you mean: 

Portal not enforcing UI element property settings

Former Member
0 Kudos

Hi,

I have deployed a WD app to the portal. What I noticed was that though the "length" property of a UI element, say the input field, is set to a specific value, I am able to enter more characters than the length set at design time.

Is there anyway I can enforce the design time layout settings ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Do close the thread if your problem is solved.

Regards,

Vijith

Former Member
0 Kudos

Hi,

Length property of the UI element is just the physical length.

You can go for simple type ,but even in this case the length will be truncated to the specified length only whil processing and not while entering.

Regards

Bharathwaj

Former Member
0 Kudos

Hi,

In order to restrict the Maximum Length(say an input field) to a specific value, you have to create a simple data type of built-in type string and set the Maximum Length. This is bound to the value attribute, which in turn, is bound to the input field. You can also specify Minimum Length and Fixed Length, if required.

This will solve your problem.

Regards,

Vijith

Message was edited by: Vijith Kumar

Former Member
0 Kudos

hi Shrikant,

You can specify the maximum length of the simple type associated with the context attribute mapped with the UI element. This might work.

Regards,

Jaydeep