Link to home
Start Free TrialLog in
Avatar of Branislav Borojevic
Branislav BorojevicFlag for Canada

asked on

File Upload parsing issue on Joomla form

Having issues with resume upload parsing page:

http://ablcareers-dev.cloudaccess.host/search-abl-jobs/resume/013947 as an example

When a user clicks to upload their resume, and selects CONFIRM INFO, the page refreshes after a couple of seconds and it appears as if no data has been processed.

Code is below, simple file upload and script. Working with Joomla.

<form class="uk-form"  name="frmMain" method="post" id="frmMain" enctype="multipart/form-data">
	<input type="hidden" name="jobId" value="<?= $this->jobID ?>" />
	<input type="hidden" name="email" value="<?= $this->email ?>" />
	<input type="hidden" name="action" value="resume" />


           <input class="form-control  uk-form-large uk-width-7-10" id="filResume1" type="file" name="filResume1" /> <button class="uk-button-primary submit uk-button" >Confirm Info</button>
           <label class="error" for="filResume1"></label>
           <button class="noresume uk-button uk-button-primary" >I  don't have a resume</button>
		   <p style="font-size:12px">No Resume? No Problem you can still apply manually</p>

	
	
		<p id="spProcessing"></p>

	
</form>

<script>
jQuery('.submit').click(function() {
	jQuery('#spProcessing').text('Processing resume ............... ');
	jQuery('#frmMain').submit();
});
jQuery('.noresume').click(function() {
	jQuery('#frmMain').submit();


});
</script>

Open in new window


There are no errors in the console, and I cannot figure out what may be the cause of the issue.

Would the PHP / MySQL version possibly affect tthe functionality of this?

Any insight would be helpful,

Thank you!
Avatar of leakim971
leakim971
Flag of Guadeloupe image

on the backend (joomla, php) )what is the process charging to save the resume
did you setup something to handle the resume?
why do you need jQuery (javascript) to submit the form when you need to create a submit button?
so replacing :
<button class="noresume uk-button uk-button-primary">I  don't have a resume</button>
by :
<button class="noresume uk-button uk-button-primary" type="submit">I  don't have a resume</button>
and :
<button class="uk-button-primary submit uk-button">Confirm Info</button>
by :
<button class="uk-button-primary submit uk-button" type="submit">Confirm Info</button>

in this case, you can remove the jQuery part until you really want to display a message :
                                <script>
                                    jQuery('.submit').click(function() {
                                        jQuery('#spProcessing').text('Processing resume ............... ');
                                    });
                                </script>

Open in new window

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.