add a CR/LF

C

clear as mud

I am concatenating 2 text fields in a rule and need to add a LF/CR between
them. All I am trying to do is append to an existing txt field with another
txt field but I want the appended data to start on a new line or new
paragraph.

Any ideas on how to do this in infopath?

My current action (on set a field's value[Comment]):
concat(Additional_Comments, " **** ", Comment)

Ideally, someone will tell me that I can replace the "****" with something
and it will work!

Thanks in advance for your help!
 
A

Adam Harding

Hi

How about concat(Additional_Comments, . , comment

With "." being the value of the field you are talking about
Additional_Comments

I am no 100% sure this will work in code but use it for dialogue box code in
Infopath and it works a treat.

Cheers Adam
 
C

clear as mud

Didn't work, but thanks for the effort! I assume that the ,., was a
comma-period-comma. It did syntax OK, but the result was as if it was a null
character inserted.

Any other suggestions?

Adam Harding said:
Hi

How about concat(Additional_Comments, . , comment

With "." being the value of the field you are talking about
Additional_Comments

I am no 100% sure this will work in code but use it for dialogue box code in
Infopath and it works a treat.

Cheers Adam

clear as mud said:
I am concatenating 2 text fields in a rule and need to add a LF/CR between
them. All I am trying to do is append to an existing txt field with another
txt field but I want the appended data to start on a new line or new
paragraph.

Any ideas on how to do this in infopath?

My current action (on set a field's value[Comment]):
concat(Additional_Comments, " **** ", Comment)

Ideally, someone will tell me that I can replace the "****" with something
and it will work!

Thanks in advance for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top