This topic is locked

Listpage row button

1/9/2012 5:07:49 PM
PHPRunner General questions
mikue from germany author

Hi members,
in PHPR 5.2 b5482 following code works:


$record["cSelect"] =

"<SPAN class=buttonborder><INPUT class=button onclick=\"var form = $('#frmAdmin1')[0];form.a.value=".$data["LocationID"]."; form.submit(); return false;\" value=\"Select\" type=\"button\">";


does anybody know how is the right syntax in PHPR 6.0 b9948 ?

maybe I have to use the insert button feature but I don't how to use coz I didn't found any sample.
Thanks for your help

Michael

C
cgphp 1/9/2012

What is the insert button feature?

mikue from germany author 1/10/2012



What is the insert button feature?


This I mean, I never worked with it

C
cgphp 1/10/2012

What is supposed to do the button?

mikue from germany author 1/10/2012



What is supposed to do the button?


Hi Cristian,
thanks for your efforts.
When you take a look at my sample code I wanna send a value via post method ( ... value=".$data["LocationID"] ... )
$record

[color="#008800"]"<SPAN class=buttonborder><INPUT class=button onclick=\"var form = $('#frmAdmin1')[0];form.a.value=";
In list_page I wanna get that value with $_REQUEST["a"]
Due to security reason I don't wanna send that value via get method (url/param) .

C
cgphp 1/10/2012

Check this article: http://xlinesoft.com/phprunner/docs/inserting_button.htm. Some examples at the bottom of the page.

mikue from germany author 1/10/2012



Check this article: http://xlinesoft.com...ting_button.htm. Some examples at the bottom of the page.


Dear Cristian,
I was reading that articel 100 times, sorry I can't handle it.
I was trying to send pm to you

System message: the members cannot receiving any new messages.
Can you contact me via email please? ( [email="mikue@web.de"]mikue@web.de[/email] )
Thanks