Jump to content

Calling a ScriptCase form script


c_hersey

Recommended Posts

Hello everyone, new member here looking for a little help.

 

I am evaluating ScriptCase7.  I have created a form and uploaded all of the necessary files to me web server into a directory I named SYSTEM.  I have set up the production environment as per the instructions and I can call up the form and it works fine if I type in the URL directly.  My problem is in getting the form to display where I want it to on my existing web page. 

 

If I look at the php code that was generated, the form is called using javascript's window.location function.  The form displays on a new window and not within the page from where it is called.

 

I hope I am making sense here.  Does anyone have a clue on how to get this to work as I need it to?

 

Here is how I am calling the form from my page: <?php include("system/grid_account/index.php"); ?>

 

system/grid_account/index.php consists of the following:

<?php
  session_start();
?>
<html>
<head>
<title>grid_account</title>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<script>
  window.location="system/grid_account/grid_account.php?script_case_session=<?php echo session_id() ?>" ;
</script>
</body>
</html>
 

Link to comment
https://forums.phpfreaks.com/topic/275904-calling-a-scriptcase-form-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.