Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Postale: Create Message Without Javascript


Reply


4 Posts   550 Views

Avatar
fw

Community Member, 6 Posts

27 July 2011 at 9:29pm

Hello,
when I try to use the postale module without javascript, I can't type into the 'To' field of the CreateNewMessage form.
Any idea how I could fix this?

Avatar
UncleCheese

4085 Posts

28 July 2011 at 2:06am

Yeah, unfortunately the plugin works by transforming a dropdown field, not a text field, so I think it would be pretty tricky. Might have to get clever with some <noscript> tags or something.

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Avatar
fw

Community Member, 6 Posts

28 July 2011 at 3:41am

Seems to be not as easy as checking for Director::is_ajax and simply change DropdownField to TextField in case it isn't...

Avatar
UncleCheese

4085 Posts

28 July 2011 at 2:52pm

No, it's not.. because unfortunately it's not loaded with ajax.. it's loaded in an iframe..

---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com