in which product gets calculated based on pricing, etc. I want to know if there is a way for a user to type in a value in another field and be the value for "Bulk Delivery"?
This code will assign Bulk Delivery a value if bulk delivery has been selected and the bulk_value form field has been filled.
The only problem with this code is if someone enters the same number in bulk_value as one of the other option fields. You'll have no way of knowing whether they've chosen Bulk Delivery or not.
You could prevent the user from entering one of your numbers (5, 20, 55, 100, 250) by using some javascript validation, or assign the other options with words and force the user to use a number in the bulk_value field.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum