HTML View transfer inputted data between forms

HTML View transfer inputted data between forms

I am working on an application in which I need to allow users to type in a passcode that is unique to specific groups to add or edit a record in a form, that passcode would be recorded in each record to show which group the person belongs to. I want the user to be able to type the passcode once and be able to add or edit multiple records, without typing the code multiple times. My idea was to create an HTML page with the embedded report and an embedded login form. Would it be possible to pass the code that is typed into the login form into the add or edit popup boxes when either of those are clicked from the report? If it isn't, is there any other way of accomplishing the same thing?