Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.