Comment Field - InfoPath Dev
in

InfoPath Dev

Comment Field

Last post 05-06-2013 04:22 AM by bangboomben. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-22-2013 03:32 AM

    Comment Field

    Hello @ll, 1st of all I have to say, as I read the threads topic "Newbie Questions", I felt very good. Cuz I am a pretty big Newbie of Infopath. :-) Anyways... My question is: I want to create kind of IT-Ticket on a SharePoint List using a Infopath form. Further I want to create a field e.g. "Updates" where the IT admin can add multiple lines of text and save the form again. And if another admin wants to add sth. to the field (without removing the older one) I want a timestamp on that addition. Is that possible? P.s. My solution so far is, the field Updates gets a default value like "concat(userName(); "-";now())" and I removed the tick that updates the value of the formula. it works so far, that I can add comments to the field, but I get only ONE timestamp....and I want a timestamp on each comment. You got me? Hopfully my explanatin is not too strange. greetz Ben
  • 04-23-2013 06:29 PM In reply to

     I'm attaching a sample - save the file locally and then right click and select design so you can preview it and try it out. I used a secondary XML data source to put another field on the form for the user to type her "current" comments in - the main data source field then gets populated w/ the user name, now, comments, concatenated w/ the current value of the field itself. Hope this helps!

    Hilary Stoupa

  • 04-25-2013 11:49 PM In reply to

    awesome!!!! That the final solution im looking for. Thanks. I will try to implement that into my existing form. If I got more questions im gonna reply to this thread. greetz
  • 04-30-2013 01:00 AM In reply to

    I guess theres no way to format the Date in that comment-"function-rule"? cuz I dont like the "YYYY-MM-ddThh:mm:ss" -format just forget about it, I got a more important question :-) if I add more cmts. to the box, the text format isnt that good it just looks kinda messy. Ive attached a file where u can see the username + date + text.... any suggestions? I guess i just need some simple spaces/breaks/new lines....
  • 04-30-2013 07:30 AM In reply to

     You can use substring functions to sort of parse out the date the way you want to see it. I've seen people use secondary data sources w/ special characters in them before to add line breaks - is this a browser form? Or filler? I'm not sure if the line breaks tricks work in browser.

    Hilary Stoupa

  • 05-06-2013 04:22 AM In reply to

    its a browser form, probably thats the problem. I do some google research and try to solve, gonna reply if I got sth. new. thanks ben
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.