-
Is there a way to have field auto generate an ID such as form-1, form-2, form-3 when someone is filling it out and submitting it to SharePoint? If the form name is the same all the time, it overwrites existing submissions defeating the purpose of a form.
-
Thanks Matt. Once again great work...
-
You could just use a repeating section and delete the first section that InfoPath automatically puts in using code in the onLoad() method.
var parent = XDocument.DOM.selectSingleNode( ''//my:ContainingGroup'' );
parent.removeChild( parent.selectSingleNode( ''my:repeatingSection'') );
---------------
Matt Faus
-
Hi Matt,
if the user selects the ddl entry ''Other'' the ddl should be hidden and a text box should apear to enter the new type. I know this case was discussed in an earlier post and my conclusion works for ddl up to three entrys because I can aply the rules for every single element. But there must be an expression to make InfoPath compare the ddl ...
-
I'm not sure I understand your question. If you have a ddl that you want to hide when the user selects other, just use conditional formatting to hide it when it equals ''other''...
Are you wanting to elimate Other from the drop down list when someone chooses it or something? If you're doing that then, why is it in the list at all? If you're ...
-
I have an optional section in my form to store some additional data. The only problem is that I can insert the additional section in my forme only once. Is there a possibility to let the user include this section in my form twice or even more times?
-
I have urgend problem. I have a dropdown listbox and I want to hide it if the user selects the expression ''Other''. So I created a xml file like this:
<AREACLASS>
<Class class=''Non Hazardous'' />
<Class class=''General Purpose'' />
<Class class=''Cl1, Div1 B,C,D'' />
<Class class=''Cl1, Div1 C,D'' />
...
-
With a repeating table of varying size this would be very hard to do with rules (if not impossible). The code would be really easy, check this out:
function getEmails()
{
var list = XDocument.DOM.selectNodes( ''//my:repeatingTable/my:email'' );
var str = '''';
while( node = list.nextNode() )
{
str += node.text + ''; '';
}
return ...
-
You probably want to use a rich text box if your translating to Word. If you must use a regular textbox I would suggest having a hidden rich text box that you copy the content from the regular textbox into. Then, transform using the rich text box, not the regular. This way you can translate formating characters (such as line breaks) from ...
-
quote:Originally posted by Virgul
With a button it's easy but without? Is it possible?
I'm not sure I understand your question. If it's easy to do with a button, can't you just put the code/rules that you used to do it with a button somewhere else - like in an onAfterChange event? Sorry if I'm misunderstanding.
---------------
Matt Faus