/    Sign up×
Community /Pin to ProfileBookmark

Help transferring hidden field thru frame

I am trying to send data to a field on a php page, but it is sitting behind a frame. Any ideas would be appreciated.

The deal is: A surveyor app sends an applicant to my site after gathering their info and sends it to me like this:

[url]http://xxx.net/pages/index.html?first_name=bob&&last_name=smith&&student_id=12456&&[email protected][/url]

index.html is a frame page:

[code=html]
<html>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=windows-1252″>
<title>Classroom Audit</title>
</head>

<!– frames –>
<frameset cols=”105,*” FRAMEBORDER=”0″ FRAMESPACING=”0″ BORDER=”0″ MARGINWIDTH=”0″ MARGINHEIGHT=”0″>
<frame name=”nav” SRC=”left.html” MARGINWIDTH=”0″ MARGINHEIGHT=”0″ SCROLLING=”No” NORESIZE>
<frameset rows=”110,*” FRAMEBORDER=”0″ FRAMESPACING=”0″ BORDER=”0″ MARGINWIDTH=”0″ MARGINHEIGHT=”0″>
<frame name=”title” SRC=”title.html” MARGINWIDTH=”0″ MARGINHEIGHT=”0″ SCROLLING=”No” NORESIZE>
<frame name=”main” SRC=”audit.php” MARGINWIDTH=”0″ MARGINHEIGHT=”0″ SCROLLING=”Auto”>
</frameset>
<noframes>
<body bgcolor=”#000000″ text=”#C0C0C0″ link=”#C0C0C0″ vlink=”#FFFFFF”>

<p>This page uses frames, but your browser doesn’t support them.
<br>Please contact a staff member for your audit.</p>

</body>
</noframes>
</frameset>
</html>[/code]

audit.php has a php event calendar that allows them to select a class and sign up for.

[code=php]<form name=”{HTMLFormName}” action=”{Action}” method=”post”>
<table cellspacing=”0″ cellpadding=”0″ border=”0″>
<tr>
<td valign=”top”>
<table class=”HeaderSchool” cellspacing=”0″ cellpadding=”0″ border=”0″>
<tr>
<td class=”HeaderLeftSchool”><img src=”Styles/School/Images/Spacer.gif” border=”0″></td>
<th>Information&nbsp;</th>

<td class=”HeaderRightSchool”><img src=”Styles/School/Images/Spacer.gif” border=”0″></td>
</tr>
</table>

<table class=”RecordSchool” cellspacing=”0″ cellpadding=”0″>
<!– BEGIN Error –>
<tr class=”ErrorSchool”>
<td colspan=”2″>{Error}</td>
</tr>
<!– END Error –>
<tr class=”ControlsSchool”>
<th>Class to Audit</th>

<td><input maxlength=”10″ size=”10″ value=”{ID}” name=”{ID_Name}”></td>
</tr>

<tr class=”ControlsSchool”>
<th>First Name</th>

<td><input maxlength=”50″ size=”50″ value=”{first_name}” name=”{first_name_Name}”></td>
</tr>

<tr class=”ControlsSchool”>
<th>Last Name</th>

<td><input maxlength=”50″ size=”50″ value=”{last_name}” name=”{last_name_Name}”></td>
</tr>

<tr class=”ControlsSchool”>
<th>Email Address</th>

<td><input maxlength=”50″ size=”50″ value=”{email}” name=”{email_Name}”></td>
</tr>

<tr class=”ControlsSchool”>
<th>Student ID</th>

<td><input maxlength=”50″ size=”50″ value=”{student_id}” name=”{student_id_Name}”></td>
</tr>

<tr class=”BottomSchool”>
<td align=”right” colspan=”2″>
<!– BEGIN Button Button_Insert –><input type=”submit” value=”Add” name=”{Button_Name}”><!– END Button Button_Insert –>
<!– BEGIN Button Button_Update –><input type=”submit” value=”Submit” name=”{Button_Name}”><!– END Button Button_Update –></td>
</tr>
</table>
</td>
</tr>
</table>
</form>[/code]

so anyway to have index.html forward on that data to audit.php would greatly streamline the process and keep them from having to type everything out twice. Hope this wasn’t too long. Thanks.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @csocs_wolf spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...