[SOLVED] Custom Button and $param - totally lost.... |
5/26/2011 10:15:47 AM |
PHPRunner General questions | |
M
mickna author
After a whole day try and error, I am lost <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=17097&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /> params["txt"] = document.forms.editform1.value_from_id_1.value;
$_SESSION["FromID"] = $params["txt"];
location.href="anotherSiteSend_add.php";
|
|
![]() |
Sergey Kornilov admin 5/26/2011 |
You need to use Javascript API to access any specific field value. |
M
|
mickna author 5/27/2011 |
Did not work at all. //Inserted in Button properties - Client before
|
J
|
Jane 5/27/2011 |
Hi, |
M
|
mickna author 5/27/2011 |
Hi Jane,
|
J
|
Jane 5/27/2011 |
Hi,
global $dal;
window.location.href='TableName2_add.php?FieldName='+result["txt"];
|
M
|
mickna author 5/27/2011 |
Hi Jane, |
M
|
mickna author 5/27/2011 |
Heck, I am frustrated and opened a ticket #233855 |