all at once...... I have a web application system. It's a multi step form. They submit part 1, then they go on to part 2... etc.. yeah.. makes sense. Even with multi step though, each part is pretty long, so we've provided them with a save/reload functionality. But I have a problem. And it might be kind of a long explanation, but the short version is that IE7 is truncating my $_GET string data that I'm trying to pass the form. I checked the url that is clicked to load the form and all the data are there. There are no special characters messing this up - I know because I've already been over the special characters issue and because it's randomly doing it in the middle of a string of perfectly valid letters..... To make it even more odd, it only does it under a certain set of circumstances. These forms are essentially job application forms. We gather all kinds of information. At the spot I'm at we have a place for the applicant to enter information about his/her children. I provided enough room to enter two children by default, with the ability to add more children by clicking a + button. This uses Javascript to create another row of child information. We first encountered our bug when it was brought to my attention that data entered into a 3rd, 4th or so on child was not being repopulated when the user returns to the form later. I realized that I had forgotten that if I only ever create 2 at page load, then there will never be a place in the DOM for the data for those extra children to be placed. So I fixed this issue. But now, when a user enters 3 or more children, goes on to the rest of the form for a ways, saves and comes back, IE inevitably truncates the $_GET string so that data is lost. And it seems to be in a completely random place in the string after the additional children. I'm fairly certain that this never happens when two or fewer children are entered. Please help. Thanks in advance!
This is difficult to diagnose without seeing the actual html of the form. It sounds to me like somewhere in your code (your javascript code?) isn't properly setting the "name" of the form field to an array. So if you're form has this: <input type="text" name="kids[]" /> Code (markup): and your javascript is dynamically adding this <input type="text" name="kids" /> Code (markup): it's overwriting the array with a single text field that will override any of the "kids" values that precede it. As I said, this is just a guess without actually seeing your form.