If setting Node reference field with Nodereference URL widget, there is no possibility to enter "help text" for users.

CommentFileSizeAuthor
#4 nodereference_url_help.patch1.81 KBquicksketch

Comments

quicksketch’s picture

The description is intentionally hidden because there is nothing that you can change on the node form and the description is not shown anyway if it one were entered. However I could still see a use for the description when the fallback behavior is in effect (autocomplete, select list, etc.). Is this the use-case for which you need the description? I think it might make sense to only show the description if the fallback is being used.

my-family’s picture

On the website, I use this field for adding Photoalbum (node type with nodereference URL field), which has reference to Event. There are 2 possibilities:

1) Adding new Photogallery directly from the Event node (using link made by the Node reference URL module). I agree that in this case the explanation (help text field) has no sense, because the "related Event" field is automatically populated.

2) However, on the Events overview page, there is also a general link "add photoalbum". In this case, user has to choose photoalbum by hand and the explanation would be still useful.

It is not crucial, but I think that hiding the description field is not necessary, or, there could be a choice by creating the new CCK field (checkbox "hide the description/help text field"?).

Thank you, and, above all, thank you for this very nice and useful module :-)

quicksketch’s picture

Great, so it sounds like we're agreeing that help text is not necessary when the field is prepopulated, but is necessary when entering the reference manually. Rather than hiding the description field entirely, I think we could just give it a different title to indicate it will only be used on the fallback widget.

quicksketch’s picture

Title: "Help text" field for users missing » Restore "Help text" field for the fallback widget
Category: bug » feature
Status: Active » Fixed
StatusFileSize
new1.81 KB

I've committed the attached patch, which restores the help field for the "fallback" widget.

my-family’s picture

Tried the #4 patch, but
"patch unexpectedly ends in middle of line
Hunk #2 FAILED at 220."

I'll try it manually later. Thank you anyway.

my-family’s picture

oops, It is fixed in the 6.x-1.5 :-))

Sorry and thank you once more.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.