<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0"></p>
<div style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;">Cornell is creating a plugin to store a small custom subrecord (so far so good) with the additional requirement that it be read-only from the UI (the data will be imported via other means),
 so the fields should not be editable from the edit page. Is there a supported way to do this? We’ve tried using the “label_and_readonly” form helper method in my template, and while this does result in the fields being output as read-only labels, they aren’t
 passed back to the server when one attempts to save the object. We end up getting a database error saying that one of the fields does not have a default value, and inspecting the params object in the log file reveals that my subrecord data is not present at
 all. Marking the properties as “readonly” in the schema results in the same problem. Using a standard “label_and_textfield” works ok so I don’t know if this is a bug or I’m missing something. This is all on version 2.5.0 at the moment.</span></font></div>
<div style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"> </span></font></div>
<div style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;">Any help/direction is greatly appreciated!</span></font></div>
<div><font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><br>
</span></font></div>
Erin Faulder
<p></p>
</div>
</body>
</html>