I need a simple 1 page app that fills a table within a form. The table would have 1 input box per row and would calculate one of the other cells (like a spreadsheet). The data for the table cells would need to be stored on a separate code page in an array. This is a very simple task and you would have 2 pages like [login to view URL] for the form and [login to view URL] for the data and calculations. When the form is submitted the array and the form data would need to be processed in a loop. I only need to get started - I can finish the work myself once I have framework.
An example would be an array (psuedo code) :
/* the first number in each array row is for referance only and is not used on form or calculation (for future use) */
Items(1,1 to 4) = 174976,"Brick",5,10.50
Items(2,1 to 4) = 12845,"Hammer",3,12.0
Mult(1) = 1.0
Mult(2) = 0.90
Mult(3) = 0.80
Mult(4) = 0.60
Mult(5) = 0.50
/* the arrays Items and Mult should be unchanged after processing in case the user wants to reuse the form. Create other arrays/variables as needed */
/* preprocessing */
/* value to be displayed on form is Mult(Need)*Value so...
For i-1 to 2 {
Rowvalue(i) = Mult(Items(i,3))*Items(i,4)
}
/* end preprocessing */
On calculatebutton_pressed {
For i-1 to 2 {
process each row in form table to calc totals
}
{ calculate Total of Quan*Value column and display at bottom of table}
======================================================================
The table/Form
( user input) (calculated)
Item | Need | RowValue | Input Quantity | Calculate Quan*Value
Brick 5 5.25 _____3_____ ____15.75________
Hammer 3 9.60 ______2____ _____19.20_______
[calculate_button] ____34.95________ Total of Quan*Value column
(Hope that makes sense)
This is a narrative example:
We buy Bricks. The full buy price is 10.50 but since the need is low (5) the buy price is lowered to 50% of full or 5.25.
We also buy Hammers at a higher need (3) so the price is reduced 80% of full price or 9.60.
In the case above the user would input that he wants to sell me 3 Bricks and 2 Hammers. The form would calculate the extension for each item and the total buy price of 34.95.
These are not really prices so don't use currency - use double instead rounded to 2 places.
I am using Visual Studio Web Express so it would be nice if this played well with that. I will need to adjust the array values once a week or so.
Hello My name is Pranav
I have checked the details shared by you
will do done exactly what you want
Please consider my bid and we can discuss more so that i can assist you in better way
our services always with you even we complete the project
My Portfolio
https://www.freelancer.com/u/amitarai.html
Hello Sir. I have 5 years of experience in web development. This is a very easy task I am interested to work for you on this project. Just message me so that we can start
waiting for your positive response :)
Hello Mate
We are a young team that is focused on growth through doing things differently. Since inception we have focused on delivering projects which are benchmarked by its quality. We say what we can deliver and deliver what we commit.
We have understand your requirement based on that we have dedicated team to serve your project needs.
We have accomplished such tasks in the past also though its a new venture for us on this platform so you wont be able to find many reviews. But we assure you as your project needs to get transformed from good to great, we hopefully will not let your expectation down.
How we works for our clients?
1) Requirement analysis
2) Designing according to requirements-We design and send design to client for approval. We do unlimited modifications till our client is not 100% satisfied by design.
3) PSD to html
4) Development – During development..Once we will upload it on our server and upload the daily updates so that our client can see daily updates in project. In this way client also have his eyes on project and requested changes can be resolved on run time.
5) Testing
If there is any issue,please let me know? Because important is to deliver best quality of work and to deliver project on time and to maintain good and long term business relationship.
You can also ping me on my skype: creativesoftware1
Hopefully looking forward to work with you
Thanks & Regards
Rashmi Jain