• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
App design: XHR forms

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?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.