-
Hi,
You can use \r and \n in a textbox, as long as you go to Properties / Display Tab and check the ''Paragraph breaks'' checkbox.
So, you can achieve the display that you are looking for using a textbox, not a Rich Textbox.
If you still want you use a Rich Text Box, which stores XHTML, you need to use appendChild to add lines...(I would stick ...
-
Hi,
..and if you want to target a specific field in the nth instance of your repeating section, use something like:
XDocument.DOM.selectSingleNode(''/my:myFields/my:group1/my:group2[n]/my:field1'');
Regards,
Franck Dauché
-
Instead of using ''\r'' use ''\n''. ''\r'' is the code for a hard carriage return, and in this situation would probably be the equivalent of submitting your form if you had a submit form button on your page. ''\n'' is just the newline character, and is used much more frequently. I've actually never used \r.
Anyway, if this still doesn't work, I ...
-
Just reporting some workarounds:
To use dynamic data in your ''header'', go to Format -> View Properties -> Page Setup and set your top margin to a little less (I set mine to .4 inches). Then you can make your own ''header'' by simply typing near the top of the page and/or inserting controls.
Here's how I plan to work around my problems ...
-
Thanks, Patrick. I had already tried looking on MSDN/Google but your search string appears to yield much more useful hits.
-
I think if you XPath query was something like XDocument.DOM.selectNodes(''...'').length > 0. Put whatever XPath query you want where ''...'' is.
-
I have used xdExtension a bit in the past but I have not tried to get it to work in Data Validation. I know I have had lots of success using it in Conditional Formatting and Rules.
-
If you need to wrote some to verify all errors have been removed, there is an Errors collection you have access to. XDocument.Errors
-
Hi
when adding a new field, you must supply <Field Name='ID>New</Field> along with the fields you need to change, so add that as the first <Field > element before <Field Name='Besucher'>Testbenutzer</Field>
Also you might want to check the return XML for errors.
I have a small util you can have:
Add this line ...
-
...well so I thought.
Using an xdExtension function works just fine on the Conditional Formatting clause, however using the same expression in a Data Validation clause behaves erratically.
Are there any issues with using an xdExtension function within the Data Validation condition?