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


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 7 Years, 7 Months 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 7 Years, 7 Months ago Karma: 746
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 7 Years, 7 Months 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 7 Years, 7 Months ago Karma: 746
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 7 Years, 7 Months 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 7 Years, 7 Months ago Karma: 746
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