Welcome Guest, Not a member yet? Register   Sign In
App design: XHR forms
#1

[eluser]Crimp[/eluser]
Question about the following scenario:

1. One page form
2. Primary part of form submitted with POST
3. Parts of the form contains XHR to allow upload of multiple items/values in initial view

The XHR entries are mapped to the main record of the POST submit. In other words, the form is not submitted before the XHR values are inserted in the DB. There are of course many ways to accomplish this, but one concern is to keep the auto_increment value of the primary record an unbroken sequence for use in the URI (this can of course be changed to a sep. field).

What is your preferred way of handling such a case?


Messages In This Thread
App design: XHR forms - by El Forum - 11-01-2008, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB