Help forum

  • ssssadsadasd-1319285688213966849

    ssssadsadasd

    0

    3 months ago

    Updating a list variable
    I am using the upload to set a variable called files.
    I set the file variable as event_target_value -> get files -> entries (see pic). This works fine.
    now, the second time I upload, I want to add the new files to the existing files variable list, and not start the list from empty.
    So, I use "array" where first parameter is "files" and the other parameter is "event_target_value -> get files -> entries" (see 2nd pic) hoping that it will merge the two but it simply starts from beginning and it only uploads the second set of files.

    do you have any idea how to solve this? thanks
  • jubilant_courgette_93644-1319110147196588092

    Dov

    3

    4 months ago

    Login page is setting cookie but not redirecting
    I have a login page which is receiving back from my server a token. It is being set correctly in cookie storage on the client, but the redirect does not trigger and the login page is reloaded.

    I can get the redirect page to load by either:
    (1) If I type the redirect url manually, then the page loads correctly (I can see that the token is being sent correctly - so the token has been saved).

    (2) Typing the credentials in a second time on to the login page and submitting, then the redirect works correctly (in this case the server will send a new token).

    What I have noticed from my server logs, is that after the first attempt to call the redirect, the server receives {{ cookies.access_token }}.

    When typing in manually (or after the second submit), the server is receiving the token. I have attached screenshots.

    The workflow is very simple (as attached).

    As per @Lucas G suggestion I put prevent default at the start of the submit workflow, but that has not helped in this case.

    Any pointers would be really appreciated.
  • higolol-1319002555698642944

    Higolol

    6

    4 months ago

    submit to API
    Help me to understand submit. I am testing in API test passes successfully, but when I press submit is not
  • miles1991-1318980270593933373

    Miles

    3

    4 months ago

    map multiple keys
    How do I get an array of objects with say 100 keys down to a new array of objects with just the 3 keys I want?

    I've tried the map formula but I can only seem to sepcify 1 key.

    Thanks
  • charlie_84787-1318930257813704745

    Charlie

    🥲1
    0

    4 months ago

    Adding a script tag just before </body>
    I'm trying to load a 3rd party script that needs to be in the body but keeps coming back with the error:
    Code found in the page <head>. Please place code directly before the </body>

    I've tried it as a component, setting script type to module, as the last element on the page but nothing seems to be working. The code snippet is pretty basic - example below:

    <script type="text/javascript">
    var vglnk = {key: '454b80f1502c'};
    (function(d, t) {var s = d.createElement(t);
    s.type = 'text/javascript';s.async = true;
    s.src = '//cdn.viglink.com/api/vglnk.js';
    var r = d.getElementsByTagName(t)[0];
    r.parentNode.insertBefore(s, r);
    }(document, 'script'));
    </script>

    Any advice on how to get around this error?
  • dr.muffinman-1318694671060439162

    Muffin

    1

    4 months ago

    How do I style the markdown block plugin?
    Title. How do I style the markdown block plugin?
  • xanochris-1318635847427555328

    Chris from Xano

    ✅1
    2

    4 months ago

    How do I change page metadata?
    Can't seem to find the option for this. It just shares as "Toddle template" / "A blank template from toddle". I'm sure I'm missing something obvious, but would appreciate any pointers. Thanks!
  • benjabievres-1318605232170733609

    benjabievres

    0

    4 months ago

    Dialog Box: Best practices
    Hello,
    can you please tell me what are the advantages or caveats to use Javascript "Alerts" versus a fully built Dialog box like the one explained by the excellent and straightforward video [here](https://youtube.com/shorts/cTay-PA5AS4?si=fP0gQfHKcnJ_YsC4). ?

    So far I found another tutorial that teaches the use of Javascript to create an Alert box. But my phone complains after the second time an alert is displayed (it offers me to block any new alert box), so I was wondering if it's a good practice to use that instead of creating a Dialog Component.

    Thanks 😊
  • saillmone-1318592460779421777

    saillmone

    6

    4 months ago

    How to call API in a map function ?
    Hey,
    How can I call the API x times running in the map ?
    I have a "title" input where I would like to send the data "M", "L", "XL". This means that I have to make 3 API calls.
    I watched several videos, used the AI ​​but I can't do it.

    Can anyone help me?

    THANKS !
  • darrenbignall-1318590182642941963

    DarrenBignall

    3

    4 months ago

    Show popover on events
    Is there a way to trigger a popover that is using the popover API without clicking a button?
  • laetitiamassa-1318588460898062406

    Laetitia | Pinshasa

    8

    4 months ago

    Inside a Workflow, how to access the result of a previous step?
    I'm trying to use the result of the previous step (create a new record - Post HTTP request), in order to use the result (uuid, id, etc) of the newly created record, in my workflow (on success).
  • elli4931-1318579975539920916

    Vizualinx

    14

    4 months ago

    Join tables
    How do I join Supabase tables?
  • ssssadsadasd-1318577822054486097

    ssssadsadasd

    12

    4 months ago

    Upload files to supabase
    I try to upload an image to supabase.
    I manage to upload it, but the image is blank (empty) and it is only 77 bytes. I suspect this is related to the way my request body is built: it is simply a text (--data-binary "@C:\Users\busha\Downloads\images - made\ai\ca4.jpeg") and it does not recognize it as an image or sth.

    How can I make the body "binary-mode" instead of text (what chatgpt suggested me)?

    thanks
  • alexsiale_17363-1318274111650140160

    Alex

    7

    4 months ago

    No load on mobile
    Have I set up my toddle incorrectly for this project? It’s my only project that don’t load on mobile…

    Anyone able to check it out for me?
  • ssssadsadasd-1318260723733758004

    ssssadsadasd

    0

    4 months ago

    "Go back to page" button edge case
    I want to click a left-arrow icon and go to the previous page in the app. To do so I use javascript:history.back(), however it returns blank page sometimes (e.g. when the user goes directly to that link without previous history in the app).

    In that case I want to redirect to another base page in the app. how can I do so? switch does not allow me to get a result from javascript:history.back()

    thanks

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.