Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
fotoblitz  
#1 Posted : Sunday, September 30, 2007 2:30:52 AM(UTC)
fotoblitz

Rank: Member

Groups: Member
Joined: 9/30/2007(UTC)
Posts: 5

Hello

We use the Dual Image Uploader™ with the photo order cart. How can we check the order befor the upload begins?



Hallo
Wir benutzen Dual Image Uploader™ mit dem Fotobestell Zusatz. Wie können wir vor dem Übermitteln der Bilder prüfen, dass allen Bildern ein Format und eine Menge zugewiesen wurde.

Thanks for help
Danke für die Hilfe


Alex Makhov  
#2 Posted : Monday, October 1, 2007 2:09:35 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

I think you could use the BeforeUpload event handler.

Edited by user Sunday, February 24, 2008 7:15:10 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
fotoblitz  
#3 Posted : Tuesday, October 2, 2007 2:58:52 AM(UTC)
fotoblitz

Rank: Member

Groups: Member
Joined: 9/30/2007(UTC)
Posts: 5

Thanks

im not so good in Java. Is it possible to send us a example of the code?

This is our order values....

Code:
<table align="center">
						<tr>
							<td><span class="Stil1">
							  Format:							</span></td>
							<td><span class="Stil1"></span> </td>
							<td><span class="Stil1">Menge:							</span></td>
						</tr>
						<tr>
							<td><span class="Stil1">
							  <select id="SelectFormat1" onchange="itemChange()" disabled="disabled">
							    <option value="" selected="selected"></option>
							    <option value="10x13G">09-10x13 cm glanz</option>
							    <option value="11x15G">10-11x15 cm glanz</option>
							    <option value="11x15M">10-11x15 cm matt</option>
							    
							    <option value="13x17G">13x17-19 cm glanz</option>
							    <option value="15x20G">15x20-23 cm glanz</option>
							    <option value="15x20M">15x20-23 cm matt</option>
							    <option value="20x27M">20x27-30 cm glanz</option>
						    </select>
							  </span> </td>
							<td><span class="Stil1">
							  x							</span></td>
						  <td>
								<input type="text"
									disabled="disabled" id="InputAmount1" onchange="itemChange()" onkeyup="itemChange()" size="3" maxlength="3" /> 
							    <span class="Stil1">1-999</span> 							</td>
						</tr>
						<tr>
							<td><span class="Stil1">
							  <select id="SelectFormat2" onchange="itemChange()" disabled="disabled">
							    <option value="" selected="selected"></option>
							    <option value="10x13G">09-10x13 cm glanz</option>
							    <option value="11x15G">10-11x15 cm glanz</option>
							    <option value="11x15M">10-11x15 cm matt</option>
							    
							    <option value="13x17G">13x17-19 cm glanz</option>
							    <option value="15x20G">15x20-23 cm glanz</option>
							    <option value="15x20M">15x20-23 cm matt</option>
							    <option value="20x27M">20x27-30 cm glanz</option>
						    </select>
							  </span> </td>
							<td><span class="Stil1">
							  x							</span></td>
						  <td>
								<input type="text"
									disabled="disabled" id="InputAmount2" onchange="itemChange()" onkeyup="itemChange()" size="3" maxlength="3" />
								<span class="Stil1">1-999</span> </td>
						</tr>
						<tr>
							<td><span class="Stil1">
							  <select id="SelectFormat3" onchange="itemChange()" disabled="disabled">
							    <option value="" selected="selected"></option>
							    <option value="10x13G">09-10x13 cm glanz</option>
							    <option value="11x15G">10-11x15 cm glanz</option>
							    <option value="11x15M">10-11x15 cm matt</option>
							    
							    <option value="13x17G">13x17-19 cm glanz</option>
							    <option value="15x20G">15x20-23 cm glanz</option>
							    <option value="15x20M">15x20-23 cm matt</option>
							    <option value="20x27M">20x27-30 cm glanz</option>
						    </select>
							  </span> </td>



The Problem is how can i make a message bevor the upload begisn, an if sam pics dont have the order infos the download stops.....

Edited by user Monday, December 17, 2007 12:31:30 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Thursday, October 4, 2007 2:16:06 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

BeforeUpload event is made especially for your purposes – in BeforeUpload event handler you should check if everything is OK and if it is, return true, if it’s not, return false. If you return false from BeforeUpload event handler the upload process will be stopped.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
fotoblitz  
#5 Posted : Monday, October 29, 2007 2:13:03 PM(UTC)
fotoblitz

Rank: Member

Groups: Member
Joined: 9/30/2007(UTC)
Posts: 5

Hello,

Thanks for your Help.
Java is not my Language and i have no Idea how to make this check. Can you make me a Example of the code an show me where i have to put it in?
Or can you tel me where i can get help...?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.