Dropdown element where one value contains less than (<) character

Hi,

I have a Fabrik element which uses a dropdown plug-in like below.

upload_2019-1-22_20-32-25.png

I have noticed, if the values in this drop down has less than (<) character then they are not getting send in the email which is sent using email plugin. Also if the form has errors and the form gets reloaded even then that dropdown doesn't retain the previously entered value. This only happens if the selected value has less than (<) character. What could be the reason and what should I do to resolve the issue.

upload_2019-1-22_20-31-0.png

Thanks,
Nikhil
 

Attachments

  • upload_2019-1-22_20-27-44.png
    upload_2019-1-22_20-27-44.png
    33 KB · Views: 292
  • upload_2019-1-22_20-29-20.png
    upload_2019-1-22_20-29-20.png
    74.2 KB · Views: 67
Try using &lt; and &gt; in the labels.

Also, I wouldn't set the values to be the same as the labels, I'd use numeric values.

And ... tbh ... I wouldn't use a dropdown at all, I'd create a new list to hold your values (something like "periods", which just has 'id' and 'period_name', or some such), and make that element a join to the table (using 'id' as the value and 'period_name' as the label). More effort up front, but in the long run, having all your data correctly normalized in your data structures is the way to go.

-- hugh
 
&lt; and &gt; seems to be not working. In the table I can see the data.

upload_2019-1-24_21-35-34.png

But these values are not getting displayed in the details view.

upload_2019-1-24_21-44-29.png

For other values I can see the data in the details view.

upload_2019-1-24_21-48-59.png

Thanks,
Nikhil
 
Hi,

Could you please point me to the code that loads the data from database and renders that using the template. I know it will be under /var/www/html/components/com_fabrik but which file exactly. I want to pin point the problem.

Thanks,
Nikhil
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top