Toolbox plugin - collection of utility elements

Thanks @mishav for this plugin. I should be missing something very basic but I can’t deal with decimal number with the JS module. This extremely simple script
image
with Quantity being a decimal format :


will work with n integr but not with a decimal like7.3 or 7,3 (European).
Always get the following error :
Error message
What do I miss ?

hi @mishav

I am trying to return a true/false variable from server script and for some reason am having trouble returning a variable from the script.

Are you able to clarify why this is failing to return a variable. Thanks

Hey there @mishav ! Hope everything i’ts fine!

I’ve been using the ListItemExpression inside the plugin to compose arrays from a repeating group for quite sometime now, and today is the first error i ran into.

Capturar

Every time that i add something to the list, this pop up shows, it started a couple hours ago, since this is the only third party plugin i use on the page, i think it can be something that changed maybe? i dont know.

Thanks for the attention!

hi @agoo7714 ,
Did you finally find a solution?

I am trying to use an “if” conditional too:

But I am not being able to make the conditional work.

Is there something wrong with my sintax?
What am I doing wrong?

Thanks!

Hey @mfel.cruz

I ended up using “true” and "false as text variables rather than as boolean values and this worked. Not the ideal solution but still works. Let me know if that helps or if you find a way to make it work with booleans :slight_smile:

Hi there,

I am using the javascript to obtain the referring website and im having challenges doing it. Im using this java script then creating data base entries obtaining data from that referring link the java script bring in.

I’ve been trying to follow this example: [How-to] Get referring website for analytics - Tips - Bubble Forum

Hi,

I’m using the plugin and the element JavascriptToBubble, and I am getting a weird behavior with “window.addEventListener”.
I am using the function and it seems like there is a race condition on the response of the javascript to Bubble element. I am running an action that should change the URL parameter when I get a specific message and it looks like because there are several messages coming very fast the javascript to bubble element is not running the flow.

Did anyone experience that?
The code:

window.addEventListener(‘message’, (event) => {
bubble_fn_iframe_events(event.data);
console.log("message is: " + event.data);
}, false);

Best,
Tomer

Thank you very much for such an amazing plugin @mishav

I am trying to run 3 javascript workflows, they have async functions inside and I have put await statements to make the code synchronous and each individual block works exactly as desired but, the next workflow doesn’t wait for the previous one to finish executing. I tried disable the asynchrounous option but it still does the same. Can someone please help me with this @mishav .
Thanks

Hi. I have 8 Server Scripts on page and some of them give me 2 errors. How can I know what Server Script do it?


Untitled

Hey @mishav & the rest of the gang. First, wanted to thank you TONS for an amazing plugin :pray:! Have an API that requires sending a zero byte (0x00) and was able to achieve it using Toolbox Expression of \0 with result of text. Need to do the same in API Workflows and trying to achieve it using Toolbox Server Script ‘\0’ for data and “data” for Node script. Doesn’t work. I’ve tried several variations of the data (\0 \0 ‘\0’ etc.) but no luck. Any help is greatly appreciated! TIA.

Hi, how can I make an Expression element refresh when the user clicks a button?

@mishav How to push value from JS in Bubble Workflow to HTML element?
I need to get image url from Bubble DB and use it as source. I trigger function and get the url, then how to use it inside my HTML block on front.

@mishav any idea about that?

Hello @mishav

Amazing plugin the Toolbox one, extremely useful. I´ve a question though:

I´ve managed to create and download a PDF in JavaScript but there is no way I´m able to upload the created PDF to Bubble´s database. Any recommendation on this one?

Thanks a lot.

Thanks for your work

I have a repeating group with two cells shown. There is a button in cell #2. When that button is pressed I would like it to make changes to a database thing with values from cell #1. I’m not an expert in Javascript, however, could these tools easily help me make this happen?

Hi, I’m trying to convert a list that is “grouped by” to a JSON format using the List Item Expression but it returns nothing when I add “grouped by” to my list which is used as a data source for the List Item Expression. It does work as expected without “grouped by”. Any idea how to overcome this challenge?

Hi @mishav,

First off… Great plugin!!

How can I resolve these plugin errors - https://bit.ly/3nsAUuI
The documentation allows for types of expressions but getting errors in debugger.

Any assistance will be appreciated!

Hi All,
I am trying to get the mouse Y coordinates when I click on a RE reference and use that to show and transform a group focus to above or below the reference element depending on the Y coordinates.

But I cant get the value back to the “javascript to bubble” element

Using the run java script function:
Greenshot 2022-08-06 02.30.08

I want to return the value back to the Javascript to bubble element
Greenshot 2022-08-06 02.03.49

Use the value of the above element to add and remove classes from a group focus
Greenshot 2022-08-06 02.03.09

But as I said above the script is not returning the clientY back to the element

Any guidance is appreciated.
Cheers

@mishav Hi
seems ItemExperssion can not access to fieldtypes that declared in option sets
Experssion field(“field1”,“field2”) return nothing when field1 is optionset types insted of database types