Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use Input Box Custom Constraint?

Hi all. Thank you for reading this.

I am trying to follow the Qlikview Tutorial on page 107 regarding the Input Box until I got stuck on the Input Box custom constraint in the Constraint property page.

In the Tutorial the writer is trying to show the custom constraint which limits the input box values between -50 and 50. But the page doesn't show any script or expression on the Custom Constraint which I can use to set the limit.

Can anyone help?

1 Solution

Accepted Solutions
sbaldwin
Partner - Creator III
Partner - Creator III

Hi, add something like this in the custom box:

=$<50 and $>-50

Thanks

Steve

View solution in original post

4 Replies
sbaldwin
Partner - Creator III
Partner - Creator III

Hi, add something like this in the custom box:

=$<50 and $>-50

Thanks

Steve

Not applicable
Author

Thank you Steve. It works.

Is the $ and = compulsory in this kind of expression?

sbaldwin
Partner - Creator III
Partner - Creator III

Hi, you don't actually have to use the =, but the $ represents the entered value of the input box is compulsory.

Thanks

Steve

niharika
Creator II
Creator II

Hi Steve,

I have an input box where user should be able to enter any value between 0 and 100.

So I have added a condition =$>=0 and $<=100 in Custom Constraints.Its woking ine now.

But when the qvw is deployed into access point, the input box constraints are not working. i.e user is still able to enter a value less than 0.

Can you please help me with this.