J
|
Jane 8/5/2010 |
Hi, else
elseif(count($postKeys))
params["txt"] = document.forms.editform1.value_FieldName_1.value;
global $conn;
document.forms.editform1.value_Cat_Price_1.value = result["txt"]; |
F
|
FunkDaddy author 8/5/2010 |
Beautiful. It worked.. the bug is fixed. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51644&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
romaldus 8/5/2010 | |
Hi, this is a bug in the Insert button option on the add page. To fix it open PHPRunner5.2/source/buttonhandler.php file, locate line 56: else
elseif(count($postKeys))
<?php |
F
|
FunkDaddy author 8/5/2010 |
Romaldus... did you check this the installation directory of PHPRunner? |
romaldus 8/5/2010 | |
Romaldus... did you check this the installation directory of PHPRunner? The "Else" code is indeed online 56 as Jane pointed out. You should be checking this file C:\Program Files\PHPRunner5.2\source You may have been checking the folders on your project... although, I'm not sure such a file exists directly in the projects. By the way... I am using PHPRunner 5.2 (Build 5482)... are you using the same version? Best,
|
F
|
FunkDaddy author 8/5/2010 |
Great... glad to hear it. |
romaldus 8/6/2010 | |
Great... glad to hear it. I plan on posting some code on the "Tips & Tricks" forums to clarify how to take full advantage of the insert button ajax calls through javascript. The code will show how to use a button that updates the pricing of a product in an add page based on the quantity selected... this uses multiple "dependencies" and helps solve the current limitation of PHPRunner 5.2 with only one dependency allowed per lookup column (Yes, I know you can "thread" those dependencies, however they must be done one control at a time and are not able to handle true "multi dependency". Best,
|