File Attachment does not show as a hyperlink in a record... shows as html

Permalink Browser Info Environment
Hi, I am using Formify for a Church Scholarship program.
The application requires them to upload their transcript and letter of recommendation.
The file upload goes without a hitch...
but the error occurs when viewing the record. The file download does not display as a hyperlink.
Instead we get the full html and it's not clickable.
<a href="https://championsforchrist.us/2018/application/files/1615/3298/7331/title-test.mp4">title-test.mp4</a>

I will attach a screenshot.

I need this to be a hyperlink so the church admin can click the link and download the attachment.

Thank you
Greg

1 Attachment

Type: Pre-Sale
Status: In Progress
cayercreative
View Replies:
PhilYoung replied on at Permalink Reply
PhilYoung
Hi,
This is normal behaviour in formify. There are a number of solutions.

1. Click edit on form in dashboard and left click and view or download image on the file name. Then click submit to close form.
2. Create a notification template using the format below where XXX is your image field (plus any other fields you want) and the admin can click and download in the notification email.
{{ field_XXX | html }}
3. Create an admin access only review page and use a formify view block using a similar template where the image link is clickable by using the template code above.

Best
Phil

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.0
Version Installed - 8.4.0
Database Version - 20180524000000

# concrete5 Packages
Back to Top (1.0.0), Formify (3.1), More Block Templates (0.9.6), Neat (0.9.2), Spacer (0.9.4), SVG Social Media Icons (0.9.9), Tallacmans Tasty Templates (1.0), Whale OWL Carousel (2.5.7.9)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.37

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SourceGuardian, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 1200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 1200
max_input_vars - 10000
memory_limit - 512M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.