sunnyjey
Active Member
This is with reference to this Thread : http://fabrikar.com/forums/index.php?threads/change-file-name.45847/
The solution is given in the thread is working.
My questions:
1. What is correct code to add multiple elements in the PDF name ?
I tried, but didn't work. It shows Array in place of second field element.
2. If Element value is John Philips (with a space between two names). The space is replaced by %20. So PDF name becomes John%20Philips. It doesn't look professional.
Is there any way to remove this %20 and replace with _ or -
The solution is given in the thread is working.
My questions:
1. What is correct code to add multiple elements in the PDF name ?
Code:
echo $d->model->data['yourtable___last_name'];
I tried, but didn't work. It shows Array in place of second field element.
Code:
echo $d->model->data['yourtable___last_name']['yourtable___city'];
2. If Element value is John Philips (with a space between two names). The space is replaced by %20. So PDF name becomes John%20Philips. It doesn't look professional.
Is there any way to remove this %20 and replace with _ or -