Hiding/displaying a view from the menu via a script

A

Alain

Hello everybody.

Sorry for my poor english; my mother tongue is french.

I need several views in my form but some should be hide or displayed in the
menu of the form via scripts.
For example: I have 3 views (A, B and C).
If the user click on the button 1, the user will be able to see in the menu
(and select) views A and B.
If the user click on the button 2, the user will be able to see in the menu
(and select) views B and C, etc.

In fact, I need a similar behaviour than the Sheets in Excel.
Do you have an idea ?

Thanks,
Alain.
 
Z

Zoltan Fedor

Hi Alain,
I hope I understand your question. I have an idea:
Create 3 Buttons and set rules to the buttons "Switch Views" to switch
View1, 2, 3.
Add checkboxes or radio buttons to the form, so the user can select.
Set Conditional formatting to the Buttons, so disable the buttons based on
the value of the checkboxes or radio buttons.
In this case based on the user selection, just the required buttons visible,
and user can switch views.
I hope it helps.
 
A

Alain

Sorry, my english is too bad.
I don't understand your answer.
I have found an InfoPath forum in french; I will use it.

Thanks for your quick answer.

Alain.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top