Page 1 of 2
First app and difficulties
Posted: Wed Feb 11, 2015 11:16 pm
by ermias
hi guys i want to create an app and with in it i want a function that calculate. Distance to the customer: and a drop down menu with options on distances, i want that person to choose what kind of product he/she wants again with a drop down menu on product names. third one i want the person to choose how many of that products he wants.
at the end with the buttons. i want them to calculate the total price for the products, distance and how many of them he/she. then i want to save the data that was calculated and send them via mail.
can you guys help me out. or give me some ideas on how to it?
First app and difficulties
Posted: Thu Feb 12, 2015 9:48 am
by Maryna Brodina
Hello!
Please clarify what have you tried and what exactly doesn't work?
First app and difficulties
Posted: Thu Feb 12, 2015 10:37 am
by ermias
(here is how how i want the drop down menu for distance to the customer gonna be like)
(and here is how the products drop down menu gonna look like)
First app and difficulties
Posted: Thu Feb 12, 2015 4:41 pm
by ermias
i want to implement this logic's to the app. A calculator that calculates distances and type of product(choose with drop down menu), then how many of the products(choose with drop down menu) the costumer want. then calculate the total price for distances,products and the amount of products.
but i can't find a tutorial video or guide on how to do it.
i watched the video tutorial on how to create an calculator. but it doesn't help me out much.
First app and difficulties
Posted: Thu Feb 12, 2015 4:53 pm
by ermias
First app and difficulties
Posted: Mon Feb 16, 2015 4:00 am
by Yurii Orishchuk
Hi Ermias,
Unfortunatly your problem is not clear for us.
So you have two selects. And user can select needed value in these selects. You can store this value or use for calculation. That's how i can see what you have now.
Could you please specify what is not work as you want?
Regards.
First app and difficulties
Posted: Wed Feb 18, 2015 8:01 am
by ermias
Hi! Yurri. thank you for your response.
yes that's what i wanted to say.
user able to select a product.
then user selects the distance between him and the company. (The longer the distance, the more the price )
user selects how many of the products he want.
then i want to store the value and calculate the total price.
do i need to write java script for this or do something in the database? (i can't write java script)
when done i want to send it via mail.(if it's posible)
is there any possible that you guys at appery can help me out on how i can solve or build this?
First app and difficulties
Posted: Mon Feb 23, 2015 5:21 am
by Yurii Orishchuk
Hi Ermias,
Okay, all you described here is able to implement with Appery.io platform.
pre
1. user able to select a product.
2. then user selects the distance between him and the company. (The longer the distance, the more the price )
3. user selects how many of the products he want.
/pre
Use for this goal select or list.
2.
2.1.You can use here select(with discrete values) or input.
2.2. With geolocation service - you can get current user position.
Details here: http://devcenter.appery.io/tutorials/...
2.3. Then you can query DB with geospatial request to DB.
Details here: http://devcenter.appery.io/documentat...
For this goal you can also use select or input. Then this value could be passed to the "query" service "where" parameter.
And, yes - you can send information via email.
Here is how to do it: http://devcenter.appery.io/documentat...
Regards.
First app and difficulties
Posted: Wed May 06, 2015 8:38 am
by ermias
hi Yurii Orishchuk thank you for the suggestion. but i don't want to set up with the geolocation service.
i have already set up a drop down menu where they person can choose the distance between him and the company.
here you can see the picture.
and here is how i have set up the lable(the distance) and value(the price)
First app and difficulties
Posted: Wed May 06, 2015 8:52 am
by ermias
same goes for the products.
here is the drop down menu
here is the the lable(product names) and value(prices)
<a