The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
43 views

when i onclick radio button then it's value should display in textfield

above is the sample screenshot of my form where i would like to do is: when i click/check on radio button "One" then then it's value should display in textfield of "Display". Code: function ...
0
votes
0answers
21 views

TABLESELECT how to add two textfields in one cell? [duplicate]

How to add two textfields in one cell of table ? function fields_menu() { $items["fields"] = array( 'title' => 'test fields', 'page callback' => 'drupal_get_form', ...
0
votes
1answer
38 views

How to replace/delete part of a string via phpMyAdmin

In my Dupal 7 site I have 1300+ entities with a text field for the price (field_msrp) of each entity. There are typically three different formats (from different content managers): $1,234 1,234 ...
0
votes
1answer
20 views

How to print the HTML content of the text field in Drupal 6 programmatically

I am printing the $node->field_abc[0]['value'] in php code where node is node content and field_abc is text field . How can I print the html format of the field in Drupal 6
0
votes
0answers
30 views

font color text field content type

I have a text field in a content type which the user should be able to choose the color of the text. Is there a module that I can install when creating the node you can choose the font color of the ...
0
votes
0answers
19 views

Change taxonomy term field into text field in content-type

Is there a way to transform a taxonomy term field into a simple text field? I need to keep all the terms present in the taxonomy field and have them separated by a comma.
1
vote
2answers
47 views

Is there a number field with + and - feature?

I am working with Form API to create a customized form shown in a block. Most of the fields are textfields. I need a +/- feature for a numeric textfield, i.e.: Is there an existing field like the ...
0
votes
2answers
63 views

drupal pre populate text field when creating node

Say I'm creating content into a text field. Instead of inserting text by typing into text field, how could select text from a drop down list to pre populate into a text field?
0
votes
1answer
125 views

How to enable Rich text editor for content types

I have installed Ckeditor module and configured it to work with advanced editing options. But couldn't get rich text editor. I even tried all options in content authoring I din't get any solution. ...
0
votes
2answers
103 views

Change field type from “text field” to “integer” (D7)

I have a field that is numerical in nature and when it was setup it was a text field. Problem is that when I use views and sort ascending, the number 111 comes before 20.
0
votes
0answers
269 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 ...
3
votes
1answer
855 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
273 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
118 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
164 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
1answer
31 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
166 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
48 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
71 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
627 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
318 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
106 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
544 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
279 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
109 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
661 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 ...
1
vote
1answer
426 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
309 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
319 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
184 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
980 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
981 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.
3
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
410 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
5k 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 ...