123 Posts
EclipseMedia
6 years ago
1
Topic

I created a content type. Its a person profile. I want people to then click on a Contact the person button in which loads a form (built in seblod) I want the name and other variables to be loaded in hidden fields so the submission will have that data. How can I achieve this.

Get a Book for SEBLOD
103 Posts
shubhaanshu
6 years ago
0
Level 1

It can be done using the "Custom Variables"

first of all make sure to have all the required fields in your "list" then go to your button/link and  add custom variables like:

name=$cck->getValue('name_field');&lname=$cck->getValue('lname_field');

(replace 'name_field' and 'lname_field' with your own fields)

Now go to your form and click on (2) then choose variable -> url variable and configure (put your variable)

Hope this will help.

Get a Book for SEBLOD