WeStandWithUkraine

21 Posts
abc123
7 years ago
3
Topic

I made an seblod contact site form module and i want to see from which joomla article the form is filled in.

I tried to use field "Joomla! Article" and then i get it manually but i want it as an live value so no user interaction is needed.

Get a VIP membership
7 years ago
2
Level 1

Hi abc123,

you can add a hidden field in your contact form with the live value "variable" on it and set it's parameters :

  • type : int
  • variable : id

it will catch the id of the article.

Regards.

Lionel

21 Posts
abc123
7 years ago
1
Level 2

Thank you very much Lionel that works great.

If i add it to an field like text i get the article id but if i add it as live value to an "Joomla! Article" field then it shows the title instead which in this case is better.

21 Posts
abc123
7 years ago
0
Level 3

Only to clarify "Joomla! Article" field type is called "Article (Related)" when you choose.

Get a VIP membership