This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Multivalued field as a relationship

Is it impossible to use a Multivalued entity referenced field to be used as relationships?

For example, if I have a field with 'Allowed number of values' = 2, and I want to have a view with a relationship to each one of the field values.

Can I do that or is it not possible currently?

CallBack with Numeric field

In the callback I assign a number to an integer numeric field, it works because it displays it. When I save the movement the number is not saved.
I did various tests but didn't understand why you don't save it
The field is field_nu_hour_mission (integer)
If I write the number from Tstiera it displays it and stores it

Status of comments

Hello,

I have some checkboxes instead written text comments. One group with some rules create content, second group can add comments with (status). And third group should be able change status of these comments only. I need set one field which can be modify by other users.

Example.

I will create content, friend will create 5 comments in my content with statuses "not solved". My next friend change these statuses to "solved".

Is that possible do with drupal?

BR

Roman

How to add options dynamics in a Select Field

Hi, 

I added to a extra field in the CMS (Structure > Block > Tier > Managefield) Field Type is List(text) and Widget is Select List. 

Name: Value sustainability Machine Name: field_tier_value_sustainability

After, I edited another field (Type) adding one more option (sustainability) in the field Allowed Values List (The new field only show when select the option sustainability in the field Type).

Help using Ajax in formbuilder

I am making a form using formbuilder, and it has some ajax on it. I am having trouble trying to get values on the submit handler of the ajax field. 

I have a parent container called ['isbn'],

  $form['isbn'] = [
'#type' => 'container',
'#id' => 'isbn_search',
  ];

and inside of that are two children:

['isbn']['number'] - which is a textfield

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions