-
One more thing - I was still curious, so I tested in the browser. I'm attaching a screenshot - in IE, Chrome & MS Edge browsers, the optgroup did not display correctly. But it worked in preview & filler, so it depends how you'll be using the form.
-
I was curious so I tried it. See attached (save the file locally, right click and select design to open in design mode, then preview).
-
Interesting. InfoPath doesn't do this out of the box. I don't know if you would be able to customize the view XSL to do this, but it could be worth a try - you can save your form as source files (from the Publish menu) and then modify the XSL. Right click manifest.xsf in the source files and select Design to open back up in design mode.
-
Hi I have developed Info Path form called "Expense Request" from that user can add multiple expense request
and user can also edit the submitted request using the repeating table.
i have given the facility to user add attachment for their particular expense,now i wan to display and edit those
attachment as other fields also like ...
-
The following link is an example of what I am looking to do in InfoPath. I am looking to do an optgroup function.
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_optgroup
-
Hi there. Is it possible to do a drop down list that has headers? Can I use what seems to be an OptGroup Function?
Example:
Fruit -
Apple
Orange
Banana
Vegetable -
Broccoli
Eggplant
Protein -
Steak
Chicken
I don't want to be able to select Fruit, Vegetable, Protein. Just those ...
-
Ok never-mind, figured out a better solution.. never use rich text in InfoPath. Ever.
Use CSS on your editifs/newifs pages (and forget about ever using displayifs, what a pointless existence) to word wrap your plain text box elements. I haven't figured out Mozilla yet, but I'm sure I'll get around to it, for now I have my Mac ...
-
This worked perfectly! Thanks Hilary!
-
Hey, so I had the exact same situation as you, but using Rich Text is terrible for browser forms because InfoPath rich text isn't supported by anything but IE. Because I need to allow people to fill out the form in browsers other than IE and also have word wrap, I needed another option.
I found I can set InfoPath options to Show InfoPath ...
-
Oh! now I see the issue. I hadn't understood that these links are from attachments to a list item (so we have multiple URLs per item). You could try: substring-after(substring-after(., "Attachments/") , "/")
Then your substring-after returns ListID/FileName.ext and the outer substring-after gets ...