Avatar of Techsavy
Techsavy

asked on 

InfoPath Button Click ->Hide a control bound to secondary data source

Hi,
I have a form where I have a repeating table bound to secondary data source. I would like to hide this repeating table, when a button is clicked and then show when the same button is clicked again.

Note: The repeating table is not bound to main data source.

Please help...
InfoPath

Avatar of undefined
Last Comment
Techsavy
ASKER CERTIFIED SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Techsavy
Techsavy

ASKER

Hi clayfox,

I tried the toggle option and I am getting :

Some rules were not applied -> Unspecified error.

What am I missing?

Avatar of Clay Fox
Clay Fox
Flag of United States of America image

not sure what you have going on.But conditional formating would not produce those kind of errors.  I would look at other rules and maybe disable or remove some and test and keep adding them back till you know which one is causing the issue.
Avatar of Techsavy
Techsavy

ASKER

When will the button rule execute? When it is clicked? Because..I have set a rule in the button where I used an action to set a field value. But it is not doing that.


Avatar of Techsavy
Techsavy

ASKER

was well explained and worked totally after a couple of attempts.
InfoPath
InfoPath

Microsoft InfoPath is a software application for designing, distributing, filling and submitting electronic forms containing structured data. The product features a WYSIWYG form designer in which the various controls (e.g. textbox, radio button, checkbox) are bound to data, represented separately as a hierarchical tree view of folders and data fields. All the data stored in InfoPath forms are stored in an XML format. Secondary data sources can be built into the form or they can be accessed through an external data connection to SharePoint or a Web service.

2K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo