It seems form what you have said that any user can have multiple invoices
with payments due, in which case would it not be better to just have a
single "make payment" at the bottom which they fill in with the amount they
want to pay which is then taken off their total balance.
But allowing users to enter amounts is prone to error, so how about have a
checkbox at the end of each row for the user to specify which invoices they
want to pay, then submit the form and click through to payment
page which totals up  all the checked invoices.


On Mon, May 6, 2013 at 7:46 PM, Chester Austin <chesteraus...@gmail.com>wrote:

>
> I was going to post this on StackOverflow but felt that it might not be
> the right type of question to ask there, so I shall post it here.
>
> I am tasked to create a "payment form from a balance sheet".  I have a
> created a balance sheet, which is basically an HTML table that has a row
> item detail of that item.  In our case, each line is an event code and the
> total issues, payments, returns and balance (issues minus payments minus
> returns) is on each line.  Each HTML row is actually a form with a "More
> Info" submit button to drilldown on that specific event code with details
> passed to that form as hidden inputs.
>
> I am looking to extend the functionality of this report by adding a new
> column, "Pay amount" and, if the user has 75 to pay off of their balance,
> they can add a number (let's say 50) and they can pay for 50.
>
> Ideally, my train of thought is that the text field will do an AJAX submit
> to a CFC where the value and eventcode will be posted to a session
> structure, and once the user is done, the structure can be processed to do
> what it needs to.
>
> Am I on the right track in this?  Is there a better way to do this?  I am
> concerned about a couple things. 1) I don't want the user to have to press
> "Save" or "Submit" after each entry.  There would be at least 100 row items
> they would have to go through, it would a large wall of text, and am trying
> to help them out with at least that aspect. 2) I would like the data to be
> "saved" at least in the session scope. In case the user has to move to a
> different page, the information they entered would still be there.
>  Ideally, I would like to save the data and recall / fill in the values so
> that they can come back, let's say the next day, and continue where they
> left off.  I have attached a screen shot of the HTML table as viewed from
> the browser: <a href="
> https://dl.dropboxusercontent.com/u/6212377/sample.JPG";>
> https://dl.dropboxusercontent.com/u/6212377/sample.JPG</a>
>
> Any resources or tutorials is greatly appreciated.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to