forms

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Help_me's picture

Problemas con los form's

Buenos días para algunos

Soy nuevo con este cms drupal yo eh trabajado anteriormente en full html en fin.

tengo un problema un poco grave con los formularios en drupal.
Quiero hacer un formulario en drupal especial es decir combinando html php javascript y jquery pero cuando pongo las tags (html) como <input type="radio"..... no los reconoce el drupal.

El formulario es uno de pagos con conexión a paypal y a visa y esas cosas y se me esta complicando.
mi pregunta es la siguente:

Read more
Anonymous's picture

Entity forms

Hey guys i'm being bold here. But i couldn't figure out where to add D8 feature request so i thought i gave it a shot here.

I was wondering if what the pro's and con's are of making forms more entity'ish..

Why not make "all" the forms based on this form.entity type. Adding field (and thus widgets) would be a breeze (from a UI perspective). In core there are a few "fixed" forms like:
- the login form
- the contact form
- the password forget form
- the comments form
- the modules forms (like rating of add to cart)
- e.t.c.

Read more
edorado's picture

Varios formularios dependiendo de datos de una BD

Saludos Comunidad

Estoy enfrascado en un proyecto con drupal tratando de escribir la menor cantidad de codigo posible.
El asunto es que ahora quiero construir un tipo de contenido que al hacer referencia a otro tipo de contenido cargue formularios vía ajax en dependencia de algunos datos que tenga el contenido referenciado. Les explico un ejemplo:

Read more
Kartagis's picture

Blok içeriği içerisine form elemanı yerleştirmek

Merhaba,

Ben bir blok yarattım modülle, şimdi de o blok içerisine form elemanı yerleştirmek istiyorum. Ancak 'Array' döndürüyor. Nasıl yapabilirim? Kodum şöyle:


function tcmb_get_curcode() {
$header = array(t('Currency'), t('Buying'), t('Selling'));
$rows = tcmb_get_cached_curcode();
$output = theme('table', $header, $rows);
$output .= array(
'#type' => 'select',
'#options' => getdates(),
);
$output .= t('Exchange rates are updated at 4 PM (GMT +3) on weekdays.');
return $output;
}

function getdates() {
return array(
('1' => 'Bir'),

Read more
dpellerin's picture

Materials for March 17th Multi-Part Form Tutorial

mlncn's picture

AJAX Form Messages, an API to provide an enhanced user interface for forms– catching errors before the submit button is hit

This module will provide an API and a UI for immediate inline validation or other checking and responding of form elements. (Contrast this with AJAX module, which validates the entire form via AJAX when the submit or preview button is pressed.)

The ideal will be to automate using (or make it very simple to use) existing form element validation functions as the back-end of inline validators.

The initial motivation was to extend (and make an honest module out of) Unique Fields AJAX checking, but the number of nice-to-haves and ought-to-bes make point the way to a new API for setting message conditions and messages. This will be developed API-first.

Notes from my due diligence are here: http://data.agaric.com/raw/ajax-form-messages-proposed-module

Read more
maryannking's picture

How to approach form issue - multichoice with totals

I've been searching for a solution and am not certain how to ask for it.

Have a form that has questions with multiple choice.
want each selection to have a particular value
when the user completes the form - it tells them their score (would be within a range) and gives them a text rating - like: genius, average, find a tutor (not actual)

Is this a forms solution? anyone know of a module that does such?

just trying to think of a solution

maryann

Read more
glass.dimly's picture

Integrating Drupal, Democracy in Action and, and i18n for form submissions

Hey all,

Dev seed did an interesting integration with DIA and Drupal.

http://developmentseed.org/blog/2007/oct/19/integrating-drupal-democracy...

Read more
mahnster's picture

"Content Complete" for custom Member Profile Modules/Forms... "Module Completeness"?

In my usage of Drupal I have come to really like the Content Complete (http://drupal.org/project/content_complete) module that looks at the fields, including CCK of a node, and displays in a block what still needs to be completed.

I am now working with a client who has their member profile in a custom module, as it does have a lot of stuff going on from being able to ad contact to one's profile, etc. etc. in which the Profile module or Content Profile module are not sufficient (and even if they were, it would be a bunch of work to get their site working under those, and no time for that now).

The client wants users to be able to see how many fields of their profile, of our custom member_profile module, need to be filled out, etc.

So...........

I've been trying to figure out how to turn Content Complete into a program that instead of looking at a node's CCK, it looks at a module's hook_scheme to get the fields it populates for a user (must have a uid column), then let admin select which ones are needed for completeness, and then show completeness meter in blocks.

Read more
morisy's picture

Inserting a form or content creation into a page?

Hi,

Spare Change News had me add on a feature where users can, anonymously if they want, answer a given question each week with their response. Comments would have been PERFECT, but they wanted a few extra fields so I created two new content types:

Burning Question: Just basically a title and a question

Community Response: A response that is tagged to a given questions and lets users input their vendor, hometown, and first name/last initial.

Read more
Subscribe with RSS Syndicate content