Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Max value for a inputfield

Hello,

for a input field i have to limit te value to 100 (from 0 to 100 is allowed)

INPUTFIELD vrijgave;

Component:

LOAD id as cid,

    project as proj,

    vrijgave

FROM

Where and how can i do this?

tnx in advance

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

Inputfields do not have parameters or constraints, as variables have, for example. You just set that a field can be modified and that value will be kept into memory until specified. But you cannot prevent the user to enter any value in the input field, even text when the field is numeric or viceversa...

You may think of using variables instead, that are populated with the value of that field, but have some max, mins and constraints limiting the format, number, size...

Hope that helps.

Miguel

View solution in original post

1 Reply
Miguel_Angel_Baeyens

Hi,

Inputfields do not have parameters or constraints, as variables have, for example. You just set that a field can be modified and that value will be kept into memory until specified. But you cannot prevent the user to enter any value in the input field, even text when the field is numeric or viceversa...

You may think of using variables instead, that are populated with the value of that field, but have some max, mins and constraints limiting the format, number, size...

Hope that helps.

Miguel