Skip to main content
deleted 62 characters in body
Source Link
Letharion
  • 27.5k
  • 11
  • 83
  • 141

I am creating a custom form using the form api. I want to add a Price field from Drupal commerce to my form. Is it possibleI'd like to addreuse the Drupal commerce price field to a custom form.

Updated Made it clear thatused by commerce, but I am happydon't know how to use the Drupal Commerce Price field oninclude their form type in my own form.

I am creating a custom form using the form api. I want to add a Price field from Drupal commerce to my form. Is it possible to add the Drupal commerce price field to a custom form.

Updated Made it clear that I am happy to use the Drupal Commerce Price field on my form.

I am creating a custom form using the form api. I'd like to reuse the price field used by commerce, but I don't know how to include their form type in my own form.

added 109 characters in body
Source Link
Bobby
  • 73
  • 5

I am creating a custom form using the form api. I want to add a Price field like you find infrom Drupal commerce to my form. Is it possible to add athe Drupal commerce price field to a custom form?.

Updated Made it clear that I am happy to use the Drupal Commerce Price field on my form.

I am creating a custom form using the form api. I want to add a Price field like you find in Drupal commerce. Is it possible to add a price field to a custom form?

I am creating a custom form using the form api. I want to add a Price field from Drupal commerce to my form. Is it possible to add the Drupal commerce price field to a custom form.

Updated Made it clear that I am happy to use the Drupal Commerce Price field on my form.

Source Link
Bobby
  • 73
  • 5

Custom form adding a commerce price field

I am creating a custom form using the form api. I want to add a Price field like you find in Drupal commerce. Is it possible to add a price field to a custom form?