Infopath 2007: Hide a checkbox control - sharepoint

I'm developing an infopath 2007 web-form and I'd like to be able to hide a checkbox. The control doesn't do this inherently, so does anyone have a good method for hiding them?
Thanks.

Add conditional formating to the checkbox.
Remove the text behind the box (would be visible all time).
Add an expression field behind the checkbox and put your text in here.
Then give that expression box the same conditional fomating.
An alternative:
Put the checkbox into a scetion with conditional formating
(This needs more space but is eaysier to build and manage later.)

Related

Is there a way to prevent excel showing the drop down button, in a data validation cell?

Is it possible for excel to prevent the drop down toggle on a cell which has data validation? I am wanting the data validation to apply, but i would prefer the drop down button to not appear.
The reason for this, is the user is not having to choose a value, instead they handheld scan their ID badge.
I have searched everywhere and cannot find a solution.
Thanks in advance.
You just need to uncheck the In-Cell Drop-down checkbox.

How to add conditional formatting to SharePoint list in SharePoint Designer 2010?

I am adding conditional formatting to some columns of a list to change the color of some dates. I'm stuck because I am displaying the lists in preview panes on the page and the conditional formatting is not applying in this view. I am only able to have my formatting work when the list is being shown on the page in a view where the data is static. Hope that makes some sense. Any help is greatly appreciated!
The "Preview Pane" list view style cannot be formatted using SharePoint Designer's conditional formatting option. It's much too different from a typical, tabular list view.
An alternative would be to add JavaScript to the page that would run regularly and apply styles to elements based on their content.
Another (development-heavy) alternative would be to build your own list view using the JavaScript client object model (or XLST if you're feeling masochistic), giving you full control over how the results are displayed.

Trigger a Formula-based Conditional Format

I have set up a formula-based conditional format that depends on a value that is selected from a dropdown menu (combobox) on the page. The problem is that, after a dropdown selection is made, the format is not applied immediately, rather, I have to scroll the page to hide the affected cells, then scroll back to see the conditional format enabled.
How can I trigger the conditional format when the dropdown selection is made, without having to scroll the page?
It seems this is a bug in Excel (at least some versions). Have a look at this link to see if any of these fixes will work for you.
http://www.mrexcel.com/forum/excel-questions/382099-conditional-formatting-does-not-refresh.html

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

How do I enable a range selector on an Excel ribbon bar?

What is the standard practice for adding range selection controls to a ribbon bar in Excel? I'm creating an Add-In and need to enable the user to define a series of ranges. Here's a link to a question with an illustration of what I want Provide a range selection tool/utility to the user in Excel VBA. The answer to the question however only works in the context of a winform. My research suggests you can't use RefEdit controls directly in a ribbon bar. Is that true? If so, what solution do you recommend? I considered creating a button that triggers a popup containing a RefEdit control, but that strikes me as a poor user experience since it involves additional clicks by the user.
Unfortunately, you are correct: the RefEdit control cannot be used within a ribbon. However, you can use a button control to populate an editBox control with the currently selected range, using the editBox's getText dynamic attribute. This will not only place a control within the ribbon that displays the selected range and holds the value there with a single click, but -- if needed -- other automated processes can be executed as well.

Resources