When a rule update a text field it's inserting 2 line of text and not one - InfoPath Dev
in

InfoPath Dev

When a rule update a text field it's inserting 2 line of text and not one

Last post 07-12-2017 08:12 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-29-2017 11:57 PM

    When a rule update a text field it's inserting 2 line of text and not one

     Hello,

     

    I have two roles to my dropdown selection "DFOstate" which has two options "Y" and "N"

    And DFOremarks which is a simple multiline text box

     

    I need to store info each time someone change status. 

     

    Actione Rule 

    Condition:  DFOstate = "Y"

    Set a fields value : DFOremarks= concat(DFOremarks, concat(now(), "Status changed to Y by : ", loggedOnUser, @crlf))

     

    Action Rule

     Condition DFOstate ="N"

    Set a field's Value: DFOremarks =  DFOremarks= concat(DFOremarks, concat(now(), "Status changed to N by : ", loggedOnUser, @crlf))

     

    Thanks for help :) 

     

     

    Filed under:
  • 07-06-2017 08:37 AM In reply to

    Re: When a rule update a text field it's inserting 2 line of text and not one

    Hi! I'm sorry, I keep meaning to reply to this, and I've read it several times - but I just don't understand what the issue is? What isn't working the way you expect?
    Hilary Stoupa

  • 07-11-2017 11:56 PM In reply to

    Re: When a rule update a text field it's inserting 2 line of text and not one

     Hello Hilary, This is linked to one date today()  thank you,

    However I would like to create a period in infopath in which it's possible to submit form.

     

    So i have for example startdate field: 01/06/17 enddate field:30/06/17 and if date of today is later than 30/06/17 button should be disabled Elseif button is earlier than startdate button should be disabled 

    Other function that I was thinking about if there is possibility to use like mysql "between" variant doez it exist in Infopath?

     

    Thanks,

    Adam

  • 07-12-2017 08:12 AM In reply to

    Re: When a rule update a text field it's inserting 2 line of text and not one

    Did you see the sample form I attached in a reply to your other post? http://www.infopathdev.com/forums/p/38487/116672.aspx#116672
    Hilary Stoupa

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.