Carrying information from button click into form [closed]

The better way to do this is using javascript/jquery.

Use either javascript webstorage api or jquery ajax $.post.

Webstorage api will be good for this.

Here how you can do it.

$('body').on('click', '.button.small', function(){
    var index = $(this).parents('table').index('table');
    var cur_workshop = $(this).parents('.innercontent').find('h3').eq(index).text();
    localStorage.setItem('workshop', cur_workshop);
});

Place above script on http://yft.ac/upcoming-workshops/ this page template.

Then call the below script on http://yft.ac/contact-us/ this page template, to get the current workshop name.

localStorage.getItem('workshop');