Replies: 5 comments
|
Please make sure your code is formatted properly so I can look a it. Thanks |
|
`<?php namespace App\Http\Controllers; use App\Helpers\GoogleDrive; class PageController extends Controller { public $testing; public function handleFormSubmit1() $name123 = request()->post('name'); //$this->storeImage($name123); return response()->json(['status'=>"success",'name'=>$name123 ,'email'=>request()->post('email'),'nationality'=>Country::findOrFail(intval(request()->post('nationality'))),'areyou' => request()->post('areyou'),'title'=> request()->post('title'),'story'=> request()->post('story'),'accept'=> request()->post('accept')]); //return true; $storage_path2 = $image->store('uploads'); return response()->json(['status'=>"success"]); //return $files_2 ; private function sendEmail($paramsEmail) private function generateName(string $originalFilename, string $originalExtension) } |
|
Now file is uploading and form also submitting but I am sending email with file(image) link . As I have added email send function in image upload function its sending multiple times . Is there any event or function where I can get array of uploaded image path in form and send email . Thank you so much for your time to help me out. |
|
So basically file is uploading one by one . I want to upload in one go so my function called only once . I have already added ''parallelUploads" to 10 and uploadMultiple:true. Is there any other setting I need to set ? |
|
Hi can any one help me to send single email notification after multiple image uploaded please |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I need to use dropzone with my already build laravel form . I am using direct link to add dropzone to my form . I am struggling since last 3 days to get it work.
My form works perfectly fine without dropzone and dropzone works perfectly fine without any extra field I add to form
But when I try to combine both form fields and dropzone its not working . I am not getting any error as well . In my controller dropzone field is not recognize so I have created another separate function for upload image.
I dont know why its not working . can any one please help me out here.
this is testing example . This on I ma getting form data in email but image is not storing (I think 'file' is not posting to the controller)
All reactions