Update Rich Text Input via workflow

Hi everyone- hope you might able to help.

So I have a webpage with a Ritch Text Input (RTI B) (the installable one from bubble) and its default input looks at another Input (Input A) and does various things to it (splits it up, adds formatting etc) based on logic. So it takes:

This is a very, very long sentence and it needs to be simplified into its various parts

And does this:

This is a very, very long sentence and it needs to be simplified into its various parts

And that works well-no complaints here. However once someone starts playing with that input in the Ritch Format Input (RTI B), the formatting no longer works,

So I want to set up a workflow which does the following:
When RFI B input changes (done)
Fill a custom state with the RFI B input text, modified with specific rules (e.g find and replace and with and) (done)
Fill the FRI B input with the updated states text- I cannot for the life of me work out how to do this)

Any help would be great, thanks!

Hi there, @b.morris18… if I understand your post correctly, could you put RFI B in a group, set the group’s data source as the custom state, and have the last step in the workflow reset the group’s data?


Hi Mike- thats a really solid idea, thanks, however when I tried it I come across the following issue:

My Initial Content is currently set to InputA’sTextProcessed … etc
I have tried setting the inital content for my custom state to InputA’sTextProcessed …, however I cannot work out how to do that- none of the options (text etc) seem to let me pick up data from an element, let alone processed data from an element.

Thanks for your help!

Could you set the custom state to InputA’sTextProcessed on page load or when input A is changed?

I am having some issues doing that because RFI B is in a repeating group, when I go to set state from a page load, it doesn’t show up as an option. It does when RFI B’s text changes, but not from a global page load.

Sorry, it’s difficult to visualize exactly what you are trying to do here. If you can share some screenshots or a read-only link to your editor, I’m sure we can figure something out.

Hi Mike- you should be able to find it here

Hope it makes sense- let me know if you have any questions.

Okay, I took a look, and I think I have a better understanding of what you are trying to do. Going back to your initial post, it sounds like you have everything working except for getting the value of the custom state to appear in the rich text input. I still think you might end up needing a final step in the workflow that sets something to the custom state’s value. That being said, I am wondering what would happen if you put a conditional on the rich text input that says when the custom state’s value is not empty, the initial content of the rich text input is the custom state’s value. Just for the heck of it, want to give that a try and see what happens?

This topic was automatically closed after 70 days. New replies are no longer allowed.