• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Prepopulate form data

Ranch Hand
Posts: 546
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am working on a feature which pre-qualifies the user for an "offer" or a list of offers based on the information they enter on the form . On form submit, we show them an intermediate "loading" page before we take them to the "offers" they qualified for. We do input validation on all the data the user entered in the back end.

One of the requirements is that, if the SSN data they entered couldn't be found in the system, the user must be taken back from the intermediate "loading" page to the original form on which they entered their data, with their data pre-populated. How can I best accomplish this?

Our application uses Spring web flow and Spring MVC. I have been doing some research on this online, but so far I haven't been able to find a way to do this.

We can't use Ajax call to validate SSN because the SSN validation (and the decisioning) is done by a service which requires the whole form to be submitted to them.

Any ideas are welcome! Thank you so much.
    Bookmark Topic Watch Topic
  • New Topic