Pricing Blog

Help forum

  • charlie_84787-1318930257813704745

    Charlie

    0

    7 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

    7 months ago

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

    Chris from Xano

    2

    7 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

    7 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

    7 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

    7 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

    7 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

    7 months ago

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

    ssssadsadasd

    12

    7 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

    7 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

    7 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
  • jubilant_courgette_93644-1318152193085542430

    Dov

    2

    7 months ago

    Remove arrows from a number input
    Is there a builtin way to remove arrows from an input? I tried adding the following to the css editor but it does not work -webkit-appearance: none
  • alexsiale_17363-1318135798524149890

    Alex

    15

    7 months ago

    /logout meant to send to 404?
    Whats the correct way to log someone out of my toddle app that's using Supabase Auth?

    I heard it was to just action a 'gotourl' "/logout" - but currently this sends user to /404

    How can I send them back to /login page or /homepage ?
  • achivas-1317838038180827227

    A-Chivas

    2

    7 months ago

    I cant find the time selection thingy in the Vanilla js calender here, I need it plz help
  • xioteer-1317510814261051482

    Xioteer

    0

    7 months ago

    API Request failing with "Blob:" error
    Maybe somebody has had this before.

    I am making a post request to an image generation tool (Leonardo.ai) and I am trying to kick off a generation job.

    But the api responds with a 400 and I can't determine what the problem is, because under error i am getting

    "Blob:https:/ /mytoddleprojecturl./someID that I can't define where it's coming from"

    Tried a few things like server side request etc, but no luck