Active
Project:
Field extra widgets
Version:
7.x-1.1
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2013 at 23:45 UTC
Updated:
7 Nov 2015 at 20:49 UTC
Jump to comment: Most recent
Comments
Comment #1
gillarf commentedYes i noticed this too for a text field.
I think its a bug, so i've changed the category.
Setting the default value using text field widget, and then changing widget to read-only does not solve the problem.
Duplicate issue here:
https://drupal.org/node/1366762
Comment #2
joachim commentedOne way to do it is to switch the widget, edit the field to set the default, and switch the widget back again.
However, this is quite a fiddly process. Since field types have a default widget type set, perhaps this could be used as a fallback in the field settings form?
Comment #3
jpstrikesback commented@joachim, I've found of late that this workaround no longer works where I am using FEWidgets...which is odd, so I back ported the widget from D8 over here #1465774: Provide a 'Hidden' field widget (which has the added benefit of being able to set a default value using a fields default widget)
Comment #4
FreeFox commentedI can confirm, read-only text field has no default value field. Switching to text field, setting default value and switching back doesn't work.
In a token I generate a code (xxx-xxx-xxx). I need to show that to the user but as read-only. Normally I put the token in the default field and it shows.
Without this fixed I can't use this module :(
Comment #5
loparr commentedstill, not working. Does anybody maintain this module?
Comment #6
SeanA commentedThis can be accomplished using Field Permissions and Field Readonly instead.