Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Not applicable

Predefined values in an inputfield

Hi,

Just a short question.

Is it possible to predefine values for an Inputfield?

Brg

//K

Tags (1)
5 Replies
MVP & Luminary
MVP & Luminary

Re: Predefined values in an inputfield

Yes. Load the field with a predefined value in the script. This is usually done by copying an existing value. For example:

INPUTFIELD BudgetForecast;

LOAD

     BudgetAmount,

     BudgetAmount as BudgetForecast

FROM ...

-Rob

Not applicable

Re: Predefined values in an inputfield

Hi Rob

Thanks for your answer.

What I want to do is limit the text values the user can write/chose from.

In this case the user should valuate why a shipment was late.

Like:

Late truck

Wrong material

etc

Brg//K

Partner
Partner

Re: Predefined values in an inputfield

Hi Klas,

I am faced with a similar request.

Did you manage to solve it?

Thanks,

Antoine

Not applicable

Re: Predefined values in an inputfield

The only way to truely limit w text string is to define what a user can input i.e. a defined list such as in Robs example

Not applicable

Re: Predefined values in an inputfield

Hi,

No, if it was numbers I wanted to enter I could use InputSum or InputAvg but in my case I want to write text as an explanation to why something went wrong.

My solution was to make an Inline list of pre-defined textstrings to be used and show them in a listbox. and then a tablebox where the user can copy the pre-defined vaues into.

brg

//Klas