Forum
readonly gets stripped
Hi,
I am using perch runaway 2.8.25. Also have setup HTML5 true is my config.php.
If I put 'readonly' tag in perch input field it get stripped. I tried with a) readonly b) readonly="true" c) readonly=true
none work.
<perch:form id="xyz" method="post" app="perch_forms" novalidate="novalidate">
<div class="field">
<perch:label for="paper">Paper</perch:label>
<perch:input type="text" id="paper" name="paper" class="textbox" readonly="true" />
</div>
</perch:form>
Result in chrome web inspector
<input id="form1_paper" name="paper" class="textbox" type="text" required="required">
Here is diagnostic report
HEALTH CHECK
Perch is out of date. You are running Perch Runway 2.8.25 and the latest is 2.8.27. PHP 5.4.38 version is okay, but a little out of date. Consider updating soon. MySQL 5.5.48-cll is up to date Image processing available File upload size is low. You can only upload files up to 2M. Memory limit is low. Memory use is limited to 32M, which could cause problems manipulating large images. SUMMARY INFORMATION
Perch Runway: 2.8.25, PHP: 5.4.38, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.8.25), assets (2.8.25), categories (2.8.25), collection_14 (2.8.25), collection_12 (2.8.25), collection_17 (2.8.25), collection_10 (2.8.25), perch_forms (1.8.3), collection_8 (2.8.25), perch_mailchimp (2.0.1), collection_9 (2.8.25), perch_members (1.1) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_members', 'perch_forms', 'perch_mailchimp' ); PERCH_LOGINPATH: /perch PERCH_PATH: /home/caldoloradmin/public_html/perch PERCH_CORE: /home/caldoloradmin/public_html/perch/core PERCH_RESFILEPATH: /home/caldoloradmin/public_html/perch/resources Image manipulation: GD PHP limits: Max upload 2M, Max POST 8M, Memory: 32M, Total max file upload: 2M F1: dc1fef2ad0fcd9f943c02ebb43d85dbc Resource folder writeable: Yes DOCUMENT_ROOT: /home/caldoloradmin/public_html HTTP_HOST: staging.caldolor.com.au REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Support for
readonly
was added in Perch 2.2.4, so that shouldn't be an issue.Are you able to see other changes to your template take effect?
Yes... every thing else is working fine
What do you get if you view source rather than using web inspector?
<input id="form1_paper" name="paper" class="textbox" type="text" required="required" />
no read only tag
Ok, I'll see what I can find.
Did you get any thing yet... ?
Not yet, but it's on my list to look into.