Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Without knowing the format I can't provide a guaranteed solution, however if you would like to automate this task you can input a script like the one below to accomplish this. If you can share the HTML for some of the fields I should be able to make it specific to your issue.
- var wrongYear = "2007";
- var correctYear = "2008";
- var textBoxes = document.getElementsByTagName("input");
- for each(tb in textBoxes) {
- if (tb.id != undefined) {
- if (tb.id.indexOf(wrongYear) > -1) {
- var correctField = document.getElementById(tb.id.replace(wrongYear, correctYear));
- correctField.value = tb.value;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement