Download & Extend

Form Markup - code doesn't show up

Project:Form Markup
Version:6.x-1.0
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

There is a guy who asked about this issue but he never got to the bottom of the problem and the tread was closed... so I'll try again.

here's the tread I'm talking about: http://drupal.org/node/218974

I'm having the exact same problem with the 6.x version of the form_markup.module.

1) create a new content type
2) create a new textfield
3) add prefix
4) add suffix in the fields
5) save

when I view the source code (html) in an edit mode, I can see the 'div' with my 'something class'...
However, when I save and view the code under another user's account, the 'div' disappears...

Any idea why? I need to have custom classes assigned to my textfields...

Any help would be greatly appreciated.

Thanks!

Comments

#1

I dont know if this helps but another user says:

I am sorry: I misunderstood what this module does. I thought it would surround any CCK field with HTML tags when the node is showed. It does that when a node is in 'edit' mode.

#2

Component:Code» Documentation
Category:support request» task

This should be stated clearly at the modules front page. I installed it too because I thought it would add the markup to the node, and not to the nodes edit form.

Please mention this on http://drupal.org/project/form_markup

#3

This IS clearly stated:
"This module allows you to add surrounding HTML values to any CCK widget by determining prefix and suffix values."

It says it adds it to any CCK WIDGET. It says nothing about adding markup to the data that will be entered into the widget.

#4

I think you should make it more apparent for Drupal usability and accessibility in general. It is good to have well written descriptions and documentation. Which in your case, would only take one or two more sentences to clarify.

http://drupal.org/project/markup explains it very well.

nobody click here