Checkbox value not sending in POST request to Xano
Hey everyone ! I ’m new to Toddle and could use some help with an issue I ’m having sending a checkbox input to Xano via a POST API . Everything else in my form is working fine — all other inputs are passing through to Xano — except for the checkbox . I ’ve tried a bunch of things , but can ’t seem to get it to work . Here ’s what ’s happening : If I manually update the initial value of the checkbox variable (e .g . in the variable panel ) and run the API , it works — the value is sent to Xano correctly . But when I use the actual checkbox input in the form and check /uncheck it , the value doesn 't get passed through to Xano . Sometimes the value becomes undefined or gets sent as a string instead of a boolean . I 've added photos of my set -up . Any help would be so appreciated ! Hey @Pascal - I have another related question for you . I 'm now trying to calculate whether someone is over 18 based on their date of birth and send that as a boolean value (over _18 ) in my API request . I ’m not sure what I ’m doing wrong (probably a few things haha ) , but this is the setup in the body of the API . might this help ? Hi @Pascal - another form question . I ’m now trying to submit a POST API request to update the existing data . I ’ve set up a variable called 'selected Item ' . Everything is working in terms of displaying the current data — each input field shows the correct value by binding the input ’s value attribute to the appropriate property on selectedItem . However , when a user edits the input and submits the form /API request , the updated data isn ’t being sent — only the original values are . It seems like the edited input isn ’t updating the object variable . I 've read about the two -way binding , but not sure how to do this ? I understand I might need to use an input event to manually update selectedItem , but I ’m not sure what the event should do ? Do I need to create new variables for the edited form fields ? Could you clarify how I should handle this ? Added screenshots , the big formula is on my body . Thanks ! as far as I can understand you want to edit each item -field after selecting the item – then submitting the changes ? You need , to do this , replace with the input value the item 's field you do this with on -input - > SET formula - > then submit with that change if you 're still stuck , feel free to dm me – we can do a quick call to let me explain you how to do that in a more thorough way , for free of course