Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
salto
Specialist II
Specialist II

InputBox variable behaving different when published

Hello,

Ia m using v10 SR2. I have an inputbox assigned to the variable vCurrency.

I have several companies in a listbox.

The listbox content is defined as an expression:

=If(TransactionType='Consolidation','€',if(only(CompanyName='Asia'),'SGD',if(only(CompanyName='USA'),'$', if(only(CompanyName='Svenska'),'SEK', '€'))))

When I select more than one company in the listbox, or, the transaction type is Consolidation, the vCurrency is €.

When I select a single company, the currency changes to the corresponding value, depending on the company.

This works perfectly in the editor.

But when I reload the document and open in through the access point with the browser, the variable value does not change, it keeps showing €.

I have changed several settings in the inputbox (I have made sure that it is not read only), but it keeps working this way, when I publish it.

Does anyone know what can I be doing wrong?

Best regards.

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Can you please provide the qvw file, that will give us a chance to understand the problem.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
salto
Specialist II
Specialist II
Author

Hello,

I have solved it: in my load script there was an assignation to the variable that seemed to 'override' the settings in the inputbox.

Commenting the assignation has solved the issue. Thanks.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Gr8.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!