[wcj_input_field]

Output input field

Description

[wcj_input_field] shortcode outputs input field.

Args

name
(required) Unique name.

Default: None
type
(optional) Input field type. Possible values:

  • text
  • number
  • password
  • date
  • month
  • week
  • time
  • datetime-local
  • email
  • color
  • range
  • tel
  • url
Default: text
label
(optional) Admin label.

Default: None

Example

[wcj_input_field name="custom_name_1" type="number"]
Accessible through:
  • [wcj_input_field]
Tested on WooCommerce 2.6.12 and WordPress 4.7.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

Comments

5 Comments

  1. Zahed July 5, 2016 at 5:40 pm #

    Hi,
    IF i Put this Command [wcj_input_field]
    It shows “Attribute “name” is required!”
    I am Using Free Version
    Please help me about this.
    I am So much New at WordPress

    Reply

    • Booster Support Team July 5, 2016 at 5:43 pm #

      Hi,

      You’ll need to give some custom unique name to your field: [wcj_input_field name="custom_name_1"].

      Best regards,
      Tom

      Booster Support Team
  2. Zahed July 6, 2016 at 9:52 am #

    After Making order at “Order Receive” page and “thank you page” I want to collect “Customer Transaction Number” , so Need to create a input Text/Number with submission Button
    So that I can track the payment
    What i have to Do? Following commands give only Input. Looking for Both input and Submission Button
    [wcj_input_field name="custom_name_1" type="number"]

    I have attached a sample picture
    https://ps.w.org/woocommerce-bkash/assets/screenshot-3.png?rev=1119622

    Reply

  3. Andreas July 22, 2016 at 8:51 am #

    Hey,

    where does the input of this field go? How can I put it in an confirmation-email?

    Reply

  4. Joomla Candy December 2, 2016 at 2:06 pm #

    Hi,
    Please clarify what should be in the name field. In the example you suggest custom_name_1, but where do I get that from? Is it the input field title? Or the number, as they are numbered “#3” for example? Where else can I give a name to an input field?

    Reply