I can do this if the data set is a number, but as it’s a ‘Text’ field, I’m having issues doing this.
These are the only options I get?
TIA
I can do this if the data set is a number, but as it’s a ‘Text’ field, I’m having issues doing this.
These are the only options I get?
TIA
You’ll have to populate the Text with a dynamic expression and set the conditional against that source.
@ademiguel I really appreciate your help with my many questions, but, I’m relatively new to Bubble and that means very little to me. You might have to dumb it down a little bit for me!
No problem with that , however it’s good to start familiarizing yourself with Bubble jargon. You’ll help yourself when looking for help. I’ll leave a link for you about concepts I’ve used
Dynamic expressions
Data source
Populate means giving a value to something, be it a variable, an element input box…
I meant that, rather than referring to This Text
in the conditional (the expression you are writing, where you don’t find an option to refer to the text content, placed in the conditionals tab of Text 4
element), you’ll have to refer to something else. Since the text you want to refer to is set directly in the Text 4
element, you’ll have to rethink how to set the text.
So, just get the text to show from somewhere else (a custom state, a DB record…), from a different source. Everytime you are not hardcoding a value, i.e. writting it by yourself directly inside de Text element, you are getting it from a source, with a dynamic expression.
You just need to define the text you want to show somewhere else, not in the Text element directly. Then, in the conditional you are writing, you’ll be able to refer to that source and operate on the text.
I hope I’ve explained myself
Try arbitrary text , inside of it put this text , and do operations on that
‘This Text’ just refers to the text element.. not its content.
So, for the condition, you’ll need to recreate the same expression used for the Text element’s content.
Or, better yet, create that value somewhere else (i.e. a custom state or Group data source) and refer to it dynamically in both the Text element AND the condition, so you don’t have to do it twice.
Thank you very much @ademiguel !
This topic was automatically closed after 70 days. New replies are no longer allowed.