Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

eugenibaque
New Contributor

Default values of input field

Hello,

I have an input field associated with one field of a table. I need that when they are loaded by the first time, his value is blank, not the value of the associate field. Someone knows since I can do it? Does someone know if validations can do to him on the value entered in Edition mode?

Thank you for your help.

Eugeni

Tags (2)
6 Replies
Not applicable

Re: Default values of input field

Hi,

To set the default value when the application opened at first time then, add an Action under Document Properties->Triggers->On Open (Default Event Triggers) and add an external action "Set Variable".

To validate the filed value when it's inputted then use "Contraints" tab under object properties.

eugenibaque
New Contributor

Re: Default values of input field

Hi Venugopal,

i'm working with a field input load in a table. I believe that i can't work with him as if it was a variable, not?

Thanks.

Not applicable

Re: Default values of input field

SET variable='' on load script

eugenibaque
New Contributor

Re: Default values of input field

Hi Ahsan, thanks.

This solution works correctly, but on reload data, does not preserve de information entered previously in input file.

MVP
MVP

Re: Default values of input field

see here for set default val in input field

Re: How to do insert value default in inputfield?

vardhancse
Valued Contributor II

Re: Default values of input field

Hi for the input box to show the default value,

Create

1. one variable and assign the default value

2. create the input box with that variable.

So now all the time that input box value will be the default variable assigned value

Community Browser