Help forum
- Create/Edit form flow

Sam B
9 1 year ago
I have multiple pages which can take the create flow or the edit flow depending on the user action . Here is what I do : 1 . I set a variable called "mode " to session storage . It may take a value "create " or "edit " depending on which button was clicked . 2 . In the first form page , there are 2 fields , say "name " and "description " . It needs to be populated from database if it 's an edit flow or it 'll be blank if it 's create flow 3 . To handle this , I have 2 formulae , 1 for name , 1 for description 4 . I call them populateName and populateDescription . I use DefaultTo and use a GET API 's response against 0 and leave it blank for 1 . Meaning , if the API responds with a value , that 'll be populated , else it will be blank 5 . If the user wants , he /she can change the existing value and click on Submit 6 . I have two variables "name " and "description " . On change event of the textbox , I set event .target .value to these variables . 7 . On Form submit , I check the mode and branch out to POST or PUT flow 8 . It branches out perfectly . In the PUT API , in the Body section , I set an object with name and description as keys and set the values (as set in Step 6 ) 9 . When I submit the form , it invokes the PUT request , the problem I face is , it does not send the updated value in Name and Description textboxes , it sends the populated value . 10 . I 'm not binding the variables to the text boxes , since I have different flows which is why I do Step 6 explicitly What am I missing ? Can someone help please ? - circular div glyph

nathandh
1 1 year ago
What does it mean when you see this circular glyph ? Cloned a project and never seen this before - can i use auto css in toddle?
Tobassum Munir
2 1 year ago
can i use auto css in toddle ? - Date functions
Iamasuperuser
7 1 year ago
Hi ! I 've discovered the NOW formula to get todays date . But is it possible to say something like "Now minus 7 days " ? The AI bot says to use the AddDays -7 function , but that seems to be a hallucination , as AddDays doesn 't exist . Neither does Offset or any other date manipulation formula . Would anyone know how I can add and remove dates from a date in order to show that variable in a Date Input field . Thanks - Style Scroll Bar Width or Library?
unicodes
6 1 year ago
Is there a library for a better scroll bar ? The default one is impossible to style the width (width is height 😦 ) , I want it small of maximum 50px . - filter array with array

asad
4 1 year ago
- Yes, another novice who is learning.

IsaacT
3 1 year ago
I have proposed to migrate an entire project I have with Xano , Webflow and OpenAI , replacing Webflow with Toddle . I hace made a lot advances in the backed I have to build from scratch some elements that I have in Webflow and that ridiculously I have no idea where to start . I 've seen several videos , but none of the elements I need , starting with the simplest one . A navigation bar that has a dropdown . Some guidance - Default font

Neville
7 1 year ago
I need some help understanding how fonts , inheritance etc works . set the font once and have it show up everywhere . set the font on the root div and have it show up everywhere set f o n t :inherit in every element of the tree put custom CSS in the head of each page to force the font From browsing around here I believe a default font is somewhere on the roadmap . In the meantime , do I understand this correctly , and what options do I have ? Thanks for any help ! - Double clicking on the default "try now!" project's components results in empty page?
J.A.J
1 1 year ago
is this normal ? - Workflows, parameters aren't working.
unicodes
4 1 year ago
I have this workflow for "showing and hiding error messages . " I 'm passing a message (e .g . , a login error ) as input , but the parameter is null (the showing and hiding functionality is working fine ) . Could there be an issue with the parameters , or am I missing something ? - Component naming

nathandh
✅18 1 year ago
What toddle calls component “attributes ” , other typical web tech (like React generally or Webflow specifically ) calls “properties ” . When I see “attributes ” , I think data -attributes every time , which is not the same thing . Why the difference in naming convention ? - On Load API calls?
Fisher
4 1 year ago
I have a page , and On Load I want to set a bunch of things from an api call to variables . I do this several times to account for several different variables to set . My question is : Is this API call happening several times on load , one for each variable set ? If so , what is the better way to do this ? - List json key value pair

zefunha
19 1 year ago
Hi all , How do I list out the key value pair from a json object . At the moment am just listing the object only and not the key . Is there a way to list key in one div /list and the object in another - How can a page determine if it is running in the editor?
Patrick Mast
2 1 year ago
I have a workflow that triggers on “OnLoad . ” How can I prevent it from running while editing the page in the editor ? How can the page detect whether it ’s running in the editor or not ? - Duplicate Child Component From Parent

Matt
6 1 year ago
Hey guys , I 'm completely new to toddle and am trying to set up a 'habit tracking ' component that can create new child 'habit components ' when a user click the 'add habit button ' . I 've set up a click event on this button and believe i need to set up a repeat formula on the child component but can 't seem to get it working ! Any advice would be much appreciated .

.jpeg/public)