This topic is locked

Hyperlinking the field, fetching values and displaying in form

4/5/2008 8:33:06 AM
PHPRunner General questions
C
cool_jack author

Hi,
I have email field in the listview page an I want to hyperlink those email field to a form made by me so that i can mail the particular user on that particular email only which is hyperlinked.
I am having problem in getting the values from listview page. I want to pass the email values to my form.
Following is example what i want to accomplish.

<form name="rr" action="mailer.php" method="post">

Email:<input type="text" value="$_REQUEST['ebooks_query_list.php?email']" name="email" /><br />

<input type="submit" name="submit" value="submit" />

</form>


but I don't know how i pass values from list page to the custom made form page.

J
Jane 4/7/2008

Hi,
use custom format for your email field on the "View as" settings dialog on the Visual Editor tab.

Here is a sample:

$value = "<a href=\"your_page.php?email=".$value."\">email</a>";

B
bozzo 4/14/2008

Hi,

use custom format for your email field on the "View as" settings dialog on the Visual Editor tab.

Here is a sample:


Ok...I had the same issue and part of my problem was solved...

I wanted to link a particular field to a SEARCH inside phpr that's why it solved, in that way in the sample I could make the search properly....

the thing is I must show the hyperlink text as a lookup field....is there any walkthru you can pass me on this?
I even tried putting 2 times the same field and configuring it differently, but phpr can't stand two different formats for the field with the same name....
any ideas?

J
Jane 4/15/2008

Yuri,
to set up different formats for the one field edit SQL query on the Edit SQL query tab.

Here is a sample:

select field1,

field1 as field1_2,

...

from TableName



Then select different formats for field1 and field1_2 fields on the Visual Editor tab.

B
bozzo 4/15/2008

Yuri,

to set up different formats for the one field edit SQL query on the Edit SQL query tab.

Here is a sample:
Then select different formats for field1 and field1_2 fields on the Visual Editor tab.


Thanks....

Jane, you rock!