-
How to create a function that validates an email input
HI, I am trying to create a global function that validates an email address input when called. I cant seem to find a simple function/way to check if an email address is valid. I am working with a conditional IF statement but hoping for some guidance on where to look? Thanking you
-
Change old user password
I have a post api to change user data, the password change function is now implemented as follows: Input "confirmOldPassword" should be equal to the old password, if this is true input "InputNewPassword" should replace the old password value. I don't know how to implement security for this logic, maybe it can be…
-
Handling JSON array inputs
I have a list of id's being passed from my front end, and when I copy the inputs this is the format they are arriving in: {"idList":"[4,5,6]","lessonID":"6","idListRef":"[1,2,3]"} The result is empty, which is not right. If I copy and past how it is received into the run and debug and remove the "" around the [], like…
-
Problem with non-input array parameters
I have two tables. Table 2 has a one-to-many relationship with table 1. Edit query table 2 has an optional parameter with this connections array. When I try to update the data in table 2 and don't enter this parameter, I expect the parameter to become null, but the test shows that Xano makes it an empty array. Main…
-
I am passing 148 objects as a JSON input to an endpoint but only 67 are received, why?
Hi, I am passing information of 148 products like this ones (this products are retrieved from Meta's API): This list is passed as JSON variable "client_variants_meta" to another endpoint that uses this as an input. However, if we use the requests history to check the inputs of that other endpoint, it says that there were…
-
input for variable
Hi, im trying to create an input for the bounding box from this external api curl --get '' \ --data "tags=amenity%3Drestaurant" \ --data "api_key=XXXXXXXXXXX" \ --data "bbox=-87.6489,41.8503,-87.6008,41.9053" so i added %s instead of -87.6489,41.8503,-87.6008,41.9053 btw i can't find the correct input to get these 4…
-
Does anyone know how to fix this error when using set_ifnotempty?
I am trying to edit this data in my project without the fields that are already populated turning blank. I added the set_ifnotempty filter to one of the inputs as shown in the tutorial video in the documentation. However, whenever I run it, I get this error. Anyone know how to fix this? Any help is greatly appreciated!
-
how to edit an existing record targeting it by two or more parameters (fields) evaluating to true?
I want to update a field for a record based on if two column values are true for that record. E.g - Update/Edit "Complete_Status" to a "1" IF "Customer_ID" == "12345" AND && "Subscriber_Status" == "Subscribed" How would I got about doing this? I see that the Edit a record endpoint has the limit stating "If you choose a…
-
Regex on Input Configuration Filters
It would be really nice to be able to put a regex on an input configuration filter. You can acheive the same thing with preconditions, but this will save a ton of time when a dev needs to do a lot of validation on the input.
-
Security - input sanitization (validation)
Hi, I'm building a process (API endpoint) which starts with a user input from a Webflow form. I am aware that it is good practive to sanitize such input on backend, but I'm wondering is that an issue with a solution like Xano? I will have some simple validation on the form (for example for basic email format check), but it…