Fields from table1 passed to add screen for table2. I passed the fields using $value command on a custom code link from a list screen. I use $_GET["firstname"] on the add screen. This is working but when I try to save the new record for table2 I get the error message in the topic title. These fields passed to the add screen are not actually fields in table2. I have tried making them read only on the javascript on load event but that did not work.
How can I display these fields on the add screen without allowing the save button to try to save them?