2021年1月17日星期日

how to make a validation

how to make a validation where one corporate id cannot have the same title, one brand_id cannot have the same title and one hotel_id cannot have the same title ? I want when I input the title and it turns out that the title already exists with the hotel_id, the validation text appears on the form.

I attach the following code in Pastebin.

PackageController.php : https://pastebin.com/srgX7NMp  add.blade.php : https://pastebin.com/dwDqGtw1  add_script.blade.php : https://pastebin.com/Cw52kcPh  

thank you

https://stackoverflow.com/questions/65767627/how-to-make-a-validation January 18, 2021 at 09:06AM

没有评论:

发表评论