Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Link From Table to Filled-in Form
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Link From Table to Filled-in Form
#58321
Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 0
Hello -

I added links in a column which go to another page with an update form which is supposed to populate with the record, but the fields are not filling in.

Here is the link from a hand-coded table (not in Joomla) which passes the record to the form successfully:

<a href="update.php?id=<?php echo $row_rs_list['id']; ?>">Update</a>

These are some of the links I tried:

<a href="index.php?option=com_content&amp;view=article&amp;id=59&amp;catid=84&amp;catid=75?recordId={$columns:ID}" target="_blank">{$value}</a>

<a href="index.php?option=com_content&amp;view=article&amp;id=59&amp;catid=84&amp;catid=75?recordId={$columns:id}" target="_blank">{$value}</a>

<a href="index.php?option=com_content&amp;view=article&amp;id=59&amp;catid=84&amp;catid=75?id={$value}" target="_blank">View</a>

<a href="index.php?option=com_content&amp;view=article&amp;id=59&amp;catid=84?recordId={$columns:id}<?php echo $row_rs_list['id']; ?>" target="_blank">{$value}</a>

<a href="index.php?option=com_content&amp;view=article&amp;id=59&amp;catid=84?recordId={$columns:id}<?php echo $_REQUEST['id']; ?>" target="_blank">{$value}</a>

The data entry form works fine, so I know the db connection is good.

Am I missing something here? Please, if anyone has got this to work before, please let me know.

Thank you.
The administrator has disabled public write access.
 
#58324
Re:Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 667
Hello,

Do you want to pass value of "id" field to update.php script or to article with ID = 59?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#58326
Re:Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 0
Hi -

There is no update.php now - that was before I put the form in a Joomla article.

84 is the category ID for the article.
59 is the article ID.
The $value reflects the person's last name.
I think recordId must reflect the record number in the ARI Data Table, but in my database I'm using 'id'.

I need for the record from that 'id' to populate the form in the article.

Thank you -
wilway
The administrator has disabled public write access.
 
#58327
Re:Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 667
Use the following code:

<a href="index.php?option=com_content&view=article&id=59&catid=84&recordId={$columns:id}" target="_blank">{$value}</a>

Regards,
ARI Soft
The administrator has disabled public write access.
 
#58330
Re:Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 0
Thanks, but I tried and it didn't work.
The administrator has disabled public write access.
 
#58332
Re:Link From Table to Filled-in Form 1 Year, 1 Month ago Karma: 667
Check your script in the article. Probably it doesn't work with request variables ("id" request variable in your case).

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1