M
microb0x
Is there a way, hopefully without writing code, to do a find...replace
on certain text within a rich text field?
Here is the situation in detail.
I have a choice group with 3 choice sections (A,B,C for explanation
purposes). If choice A is selected, I append some text to an existing
rich text field, which is basically a comma separated list of items.
If choices B or C are selected, initially or after A was previously
selected, I need to remove the exact text added by A from the rich
text field.
I originally tried using translate(), but soon realized that it would
replace all occurences of each letter I placed in the function, it
would not treat it as an entire string but rather translates each
character separately. I understand this is how translate is supposed
to work after reading the help, but is there a similar function that
can find a specific string and replace it with say ""?
Any recommendations on how to achieve this is appreciated. As I said,
I would prefer to not have to write code for this as this is my first
InfoPath(2003) project.
on certain text within a rich text field?
Here is the situation in detail.
I have a choice group with 3 choice sections (A,B,C for explanation
purposes). If choice A is selected, I append some text to an existing
rich text field, which is basically a comma separated list of items.
If choices B or C are selected, initially or after A was previously
selected, I need to remove the exact text added by A from the rich
text field.
I originally tried using translate(), but soon realized that it would
replace all occurences of each letter I placed in the function, it
would not treat it as an entire string but rather translates each
character separately. I understand this is how translate is supposed
to work after reading the help, but is there a similar function that
can find a specific string and replace it with say ""?
Any recommendations on how to achieve this is appreciated. As I said,
I would prefer to not have to write code for this as this is my first
InfoPath(2003) project.