Raven
help with repeaters and updating data pls
@toeknee I've got this and it works. However, using $get I find is a bit icky because someone can change the value of name in developer tools to be ANOTHER item's name and it'd update the max value allowed for received quantity, no?
25 replies
help with repeaters and updating data pls
The received quantity for "Box, Medium" CANNOT be higher than its quantity, which is 10. So, if I put 11, it should error. For the packing tape, it cannot be 3, since the max quantity for that one is 2.
25 replies
help with repeaters and updating data pls
Oh, perfect then, thank you! Also, do you know how to make it so that one of the fields (received quantity) can only have a max of the quantity number? So, I've got multiple items in the repeater, and for one of the items the quantity is 10 for example, the received quantity cannot be higher than 10. I don't know how to do that.
25 replies
help with repeaters and updating data pls
https://filamentphp.com/docs/3.x/forms/advanced#field-dehydration
Dehydration is the process that gets data from the fields in your forms, and transforms it.Yea, I'm going to test it in a bit but I think it would have a little bit of a vulnerability there. It doesn't really pose much of an security issue, per se. Just user experience.
25 replies