DTF Print & Press V26
About this app
Create and manage your DTF print and press orders efficiently with our interactive web app.
DTF Print & Press V26 DTF Print & Press Order Form Name/PO Number (Max 40 characters): Quantity: Product Type: T-Shirt - $10 Hoodie - $20 Cap - $5 Poster - $15 Location 1: Warehouse A - $3 Warehouse B - $4 Warehouse C - $5 Warehouse D - $6 Location 2: Warehouse A - $3 Warehouse B - $4 Warehouse C - $5 Warehouse D - $6 Location 3: Warehouse A - $3 Warehouse B - $4 Warehouse C - $5 Warehouse D - $6 Location 4: Warehouse A - $3 Warehouse B - $4 Warehouse C - $5 Warehouse D - $6 Total Price: $0.00
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>DTF Print & Press V26</title>
<meta name="description" content="Create and manage your DTF print and press orders efficiently with our interactive web app.">
<meta name="keywords" content="DTF, print, press, ordering, web app, print management">
<!-- Libraries -->
<!-- jQuery (3.6.0) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS (5.3.3) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<!-- Bootstrap JS (5.3.3) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous">
</script>
<!-- Font Awesome (6.6.0) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
document.addEventListener("DOMContentLoaded", function() {
const productPrices = {
"T-Shirt": 10,
"Hoodie": 20,
"Cap": 5,
"Poster": 15
};
const locationPrices = {
"Warehouse A": 3,
"Warehouse B": 4,
"Warehouse C": 5,
"Warehouse D": 6
};
function updateTotal() {
const quantity = parseInt(document.getElementById("quantity").value) || 1;
const productPrice = productPrices[document.getElementById("productType").value] || 0;
const location1Price = locationPrices[document.getElementById("location1").value] || 0;
const location2Price = locationPrices[document.getElementById("location2").value] || 0;
const location3Price = locationPrices[document.getElementById("location3").value] || 0;
const location4Price = locationPrices[document.getElementById("location4").value] || 0;
const totalPrice = quantity * (productPrice + location1Price + location2Price + location3Price + location4Price);
document.getElementById("totalPrice").innerText = `Total Price: $${totalPrice.toFixed(2)}`;
}
// Event listeners
$("#quantity").on("input change", updateTotal);
$("#productType, #location1, #location2, #location3, #location4").on("change", updateTotal);
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
body {
background: linear-gradient(120deg, #f0f8ff, #e6e6fa);
color: #333;
}
#main-container {
background-color: #ffffff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-top: 20px;
}
.form-group {
margin-bottom: 20px;
}
label {
font-weight: bold;
}
.slider {
width: 100%;
}
#totalPrice {
font-size: 1.5em;
margin-top: 20px;
color: #4CAF50;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1 class="text-center">DTF Print & Press Order Form</h1>
<div class="form-group">
<label for="namePO">Name/PO Number (Max 40 characters):</label>
<input type="text" id="namePO" class="form-control" maxlength="40">
</div>
<div class="form-group">
<label for="quantity">Quantity:</label>
<input type="number" id="quantity" class="form-control" min="1" value="1">
<input type="range" id="quantitySlider" class="slider" min="1" max="100" value="1">
</div>
<div class="form-group">
<label for="productType">Product Type:</label>
<select id="productType" class="form-control">
<option value="T-Shirt">T-Shirt - $10</option>
<option value="Hoodie">Hoodie - $20</option>
<option value="Cap">Cap - $5</option>
<option value="Poster">Poster - $15</option>
</select>
</div>
<div class="form-group">
<label for="location1">Location 1:</label>
<select id="location1" class="form-control">
<option value="Warehouse A">Warehouse A - $3</option>
<option value="Warehouse B">Warehouse B - $4</option>
<option value="Warehouse C">Warehouse C - $5</option>
<option value="Warehouse D">Warehouse D - $6</option>
</select>
</div>
<div class="form-group">
<label for="location2">Location 2:</label>
<select id="location2" class="form-control">
<option value="Warehouse A">Warehouse A - $3</option>
<option value="Warehouse B">Warehouse B - $4</option>
<option value="Warehouse C">Warehouse C - $5</option>
<option value="Warehouse D">Warehouse D - $6</option>
</select>
</div>
<div class="form-group">
<label for="location3">Location 3:</label>
<select id="location3" class="form-control">
<option value="Warehouse A">Warehouse A - $3</option>
<option value="Warehouse B">Warehouse B - $4</option>
<option value="Warehouse C">Warehouse C - $5</option>
<option value="Warehouse D">Warehouse D - $6</option>
</select>
</div>
<div class="form-group">
<label for="location4">Location 4:</label>
<select id="location4" class="form-control">
<option value="Warehouse A">Warehouse A - $3</option>
<option value="Warehouse B">Warehouse B - $4</option>
<option value="Warehouse C">Warehouse C - $5</option>
<option value="Warehouse D">Warehouse D - $6</option>
</select>
</div>
<div id="totalPrice">Total Price: $0.00</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!