The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
42 views

Change element properties on ajax callback

Suppose I were to have a select box with 2 options. And 2 textfields with a value and a state of visibility. What I'm trying to do is change the visibility of the textfields whenever a different ...
2
votes
1answer
195 views

How does drupal autocomplete textfields work?

I am asking this question because I have an autocomplete text field with #autocomplete_path set to a valid working path but key events are not handled by the misc/autocomplete.js file. When the form ...
0
votes
0answers
218 views

Autocomplete text field's key events are not triggered and keydown or keyup function's aren't invoked in misc/autocomplete.js

I created an autocomplete textfield using Islandora form builder module. What it does is use an xml file to define form elements rather than the form array. So the xml text field element looks like ...
0
votes
1answer
104 views

form textfield name -value changed and does not validate any more

i have a checkout-page (drupal commerce) form with an address section generated by the module addressfield. currently all text-inputfields have this markup-structure: <input class="last-name" ...
0
votes
1answer
142 views

Adding value to multi-delta textfield programmatically

I have a phone field in a form, which is just a textfield with its default widget. I'm trying (and failing) to add values to this field programmatically through ajax calls. I have an ajax call ...
0
votes
0answers
80 views

Use (editable) textfield in form with Form API

I'm building a form with the Drupal Form API and I need one field to be an editable textfield. I know this isn't standard behavior, but I'm sure this is possible. Here I call the theme function for ...
0
votes
1answer
29 views

How to add links in the title for a profile text field

so i have this as a check box for profiles and it is being shown on the registration page as well "I accept the Terms & Conditions and Privacy Policy." and i need to make Terms & Conditions ...
0
votes
1answer
117 views

How to get custom product line item text field value?

by using commerce customisable products module, I created a custom product line item type to which I added a text field (Machine name field_license_details). By following this excellent video tutorial ...
1
vote
0answers
45 views

How to add a long textfield in Matrix Module ?

Does anyone know how to add a long text to the matrix module column? I've tried with the "custom" field but it's not working. Any idea?
2
votes
1answer
68 views

How do I chose recipient email address depending on textfield value?

I have created a webform which has a "Reference number" textfield. When someone types 101 in that textedfield, the submitted form should be send to example@gmail.com; if someone types 777, the ...
1
vote
0answers
536 views

Drupal 7: autocomplete return nid and name, change behaviour

After a long unsuccesful search (sure not long enough), I'm posting my first question. It's about textfield autocomplete in Drupal 7. I have next code: function my_module_menu(){ ...
2
votes
1answer
226 views

Adding conditional statements to custom text fields in views

I have custom text fields set to display two items as follows: [field_title]: [field_subtitle] Is there a way I can get rid of the colon if the subtitle field has no value? via php or ...
0
votes
1answer
72 views

Ho to add mixed multiple fields in a node

I'm searching for a way to add unlimited amount of multiple mixed fields in a node. In few words there is such a situation: let's say, I have a content type with fields "picture" and "text", and for ...
1
vote
1answer
25 views

how to get rid of descriptions that are linked to input types?

I've got a question about the descriptions that are linked to input type options. How do I get rid of it? I've inherited a site that, for some reason, when I mouse over the options they start ...
2
votes
2answers
397 views

Is there any ideas on webform mutile values on same field?

In webform select components, we can set multiple attributes but not for filed like textfield or numbers. So I want to ask is there any ideas on that, so let user can add more value on same ...
0
votes
1answer
235 views

How to show an input field on node view, not just on node edit / add?

I would like to show an input text area field with filtered html on node view (not on node/add !). (I would like to show editable text in a tinymce editor here ...
0
votes
1answer
103 views

Textfields and values with a value of 0 get blanked out if stepped forward/backwards

I have a multipage form programmed with the drupal FAPI having in total 3 pages of fields consisting of textfields, textareas and radios, the form can be stepped forwards and backwards. On page 2 of ...
1
vote
1answer
497 views

How do I make the select options have a textfield beside them instead of a box?

I created a webform that uses dynamic select options generated from a specific content type, which represent objects. I would like to have a text field beside each one to in which the user can input ...
0
votes
1answer
331 views

Deciding between (CCK) Fields and Taxonomy for a list of options. Pros and cons?

Sometimes I wonder why to choose Term reference or a regular List (float/integer/text) over the other, when I would like to "force" my users to select one or multiple values from a list. Taxonomy ...
0
votes
2answers
275 views

change #default_value of a textarea on admin pages

drupal 6 user. I need to change specific textarea maxlength (currently 100letters). Where is the default value stored or how it is possible to override this setting? Thank you very much.
2
votes
3answers
246 views

Divide a webfrom textfield component into a specific input format

I have a need to divide a webform component into a specific formatting that is to match a coupon format. The user input needs to look something like this. Then within the webfrom exported data the ...
1
vote
0answers
152 views

Fields are rendering white space at either side

I am rendering my node fields using: <?php print render($content['field_website_link']); ?> On the front end this is printing as: <a class="upper" href=" ...
0
votes
2answers
740 views

Add a custom field to a quiz

I've got a quiz. There is a content type to create a question. I've added a textfield to it (which will show a link to where the user can find the answer). When I look at the question itself the ...
0
votes
4answers
843 views

how to change widget type of title field in content type Drupal 7

I am trying to change the widget type for title field in content type (currently it's a text field as default). Now I want to change to node reference.
2
votes
1answer
3k views

Form field with support for multiple values

I'm building a costum form using Drupal (7) Form API I want to create a text field with possibility to add multiple values through autocomplete. The idea is to allow the user to add taxonomy terms to ...
2
votes
2answers
386 views

Can I use Node Reference Field as a Text Field if there are no references?

I'm creating a content type Event. I want to reference the node of another content type Venue, so the user will be able to click to the venue node from the event. To reference the venue on the Event ...
6
votes
3answers
4k views

Autocomplete textfield widget?

Does anybody know of a Drupal 7 autocomplete widget for textfields? I've tried Autocomplete Widgets, but the "Autocomplete for allowed values list" widget from that doesn't seem to exist in Drupal 7 ...