Add a custom field's in registration form with relationshipAdd new field in magento(1.9) customer registrationShow fields in register form of checkout onepage when the user is not guestvalidating is_unique property for custom attribute in customer registration formcan´t save new field in magento(1.9) customer registration checkout formDisplay Customer Attribute (Drop-down) in Admin EmailHow to add multiselect attribute to customer registration form?How to add validation for telephone number in magento customer registration formCustom field value not saving during checkout registrationMagento 1.9 getCompanyName from registration form fieldHow to add Custom option Text Field in Sale grid Magento 1How to call and place customer dropdown attribute in Customer Registration Page and One Step Checkout?

Does a humanoid possessed by a ghost register as undead to a paladin's Divine Sense?

Nested Unlocked Packages requires Installation of Base Packages?

Is a switch from R to Python worth it?

New workplace asking for bank pin and account number

Write The Shortest Program To Check If A Binary Tree Is Balanced

How to realistically deal with a shield user?

List: Behavioural characteristics of key Ito processes used in finance

Traveling from Germany to other countries by train?

Why am I not getting stuck in the loop

Is space radiation a risk for space film photography, and how is this prevented?

Changing Row Keys into Normal Rows

Getting an entry level IT position later in life

A verb for when some rights are not violated?

Will a research paper be retracted if the code (which was made publically available ) is shown have a flaw in the logic?

What was the role of Commodore-West Germany?

Why does capacitance not depend on the material of the plates?

Ubuntu show wrong disk sizes, how to solve it?

Whats the difference between <processors> and <pipelines> in Sitecore configuration?

If someone else uploads my GPL'd code to Github without my permission, is that a copyright violation?

What could prevent players from leaving an island?

Is there a way to improve my grade after graduation?

Does the length of a password for Wi-Fi affect speed?

Why do scoped enums allow use of | operator when initializing using previously assigned values?

What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?



Add a custom field's in registration form with relationship


Add new field in magento(1.9) customer registrationShow fields in register form of checkout onepage when the user is not guestvalidating is_unique property for custom attribute in customer registration formcan´t save new field in magento(1.9) customer registration checkout formDisplay Customer Attribute (Drop-down) in Admin EmailHow to add multiselect attribute to customer registration form?How to add validation for telephone number in magento customer registration formCustom field value not saving during checkout registrationMagento 1.9 getCompanyName from registration form fieldHow to add Custom option Text Field in Sale grid Magento 1How to call and place customer dropdown attribute in Customer Registration Page and One Step Checkout?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I need a little help ..



I need to create a new field in the registration form, and this field needs to be dynamic.



I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.



I need 2 tables to make this query, just by business rule.



Can someone help me?










share|improve this question
































    0















    I need a little help ..



    I need to create a new field in the registration form, and this field needs to be dynamic.



    I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.



    I need 2 tables to make this query, just by business rule.



    Can someone help me?










    share|improve this question




























      0












      0








      0








      I need a little help ..



      I need to create a new field in the registration form, and this field needs to be dynamic.



      I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.



      I need 2 tables to make this query, just by business rule.



      Can someone help me?










      share|improve this question
















      I need a little help ..



      I need to create a new field in the registration form, and this field needs to be dynamic.



      I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.



      I need 2 tables to make this query, just by business rule.



      Can someone help me?







      magento-1.9 customer-attribute dropdown-attribute






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 14 '17 at 20:13









      PЯINCƏ

      8,6823 gold badges11 silver badges50 bronze badges




      8,6823 gold badges11 silver badges50 bronze badges










      asked Aug 14 '17 at 19:22









      Willian SugiyamaWillian Sugiyama

      35 bronze badges




      35 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0














          You have to follow this answer, then you replace the install script with this one:



          <?php
          $this->addAttribute('customer', 'license_number', array(
          'type' => 'int',
          'label' => 'License Number',
          'input' => 'select',
          'position' => 120,
          'required' => false,//or true
          'is_system' => 0,
          'source' => 'eav/entity_attribute_source_table',
          'option' => [
          'values'=> [
          0 => 'Information 1',
          1 => 'Information 2',
          2 => 'Information 3',
          ]
          ],
          ));
          $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
          $attribute->setData('used_in_forms', array(
          'adminhtml_customer',
          'checkout_register',
          'customer_account_create',
          'customer_account_edit',
          ));
          $attribute->setData('is_user_defined', 0);
          $attribute->save();


          Nb: The attribute wil be stored in eav_attribute table.






          share|improve this answer



























          • can how i create a table with that?

            – Willian Sugiyama
            Aug 14 '17 at 20:47











          • I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

            – Willian Sugiyama
            Aug 14 '17 at 20:53











          • the solution that i gave you adds the field and attribute in eav_attribute table

            – PЯINCƏ
            Aug 14 '17 at 22:03













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189117%2fadd-a-custom-fields-in-registration-form-with-relationship%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You have to follow this answer, then you replace the install script with this one:



          <?php
          $this->addAttribute('customer', 'license_number', array(
          'type' => 'int',
          'label' => 'License Number',
          'input' => 'select',
          'position' => 120,
          'required' => false,//or true
          'is_system' => 0,
          'source' => 'eav/entity_attribute_source_table',
          'option' => [
          'values'=> [
          0 => 'Information 1',
          1 => 'Information 2',
          2 => 'Information 3',
          ]
          ],
          ));
          $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
          $attribute->setData('used_in_forms', array(
          'adminhtml_customer',
          'checkout_register',
          'customer_account_create',
          'customer_account_edit',
          ));
          $attribute->setData('is_user_defined', 0);
          $attribute->save();


          Nb: The attribute wil be stored in eav_attribute table.






          share|improve this answer



























          • can how i create a table with that?

            – Willian Sugiyama
            Aug 14 '17 at 20:47











          • I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

            – Willian Sugiyama
            Aug 14 '17 at 20:53











          • the solution that i gave you adds the field and attribute in eav_attribute table

            – PЯINCƏ
            Aug 14 '17 at 22:03















          0














          You have to follow this answer, then you replace the install script with this one:



          <?php
          $this->addAttribute('customer', 'license_number', array(
          'type' => 'int',
          'label' => 'License Number',
          'input' => 'select',
          'position' => 120,
          'required' => false,//or true
          'is_system' => 0,
          'source' => 'eav/entity_attribute_source_table',
          'option' => [
          'values'=> [
          0 => 'Information 1',
          1 => 'Information 2',
          2 => 'Information 3',
          ]
          ],
          ));
          $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
          $attribute->setData('used_in_forms', array(
          'adminhtml_customer',
          'checkout_register',
          'customer_account_create',
          'customer_account_edit',
          ));
          $attribute->setData('is_user_defined', 0);
          $attribute->save();


          Nb: The attribute wil be stored in eav_attribute table.






          share|improve this answer



























          • can how i create a table with that?

            – Willian Sugiyama
            Aug 14 '17 at 20:47











          • I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

            – Willian Sugiyama
            Aug 14 '17 at 20:53











          • the solution that i gave you adds the field and attribute in eav_attribute table

            – PЯINCƏ
            Aug 14 '17 at 22:03













          0












          0








          0







          You have to follow this answer, then you replace the install script with this one:



          <?php
          $this->addAttribute('customer', 'license_number', array(
          'type' => 'int',
          'label' => 'License Number',
          'input' => 'select',
          'position' => 120,
          'required' => false,//or true
          'is_system' => 0,
          'source' => 'eav/entity_attribute_source_table',
          'option' => [
          'values'=> [
          0 => 'Information 1',
          1 => 'Information 2',
          2 => 'Information 3',
          ]
          ],
          ));
          $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
          $attribute->setData('used_in_forms', array(
          'adminhtml_customer',
          'checkout_register',
          'customer_account_create',
          'customer_account_edit',
          ));
          $attribute->setData('is_user_defined', 0);
          $attribute->save();


          Nb: The attribute wil be stored in eav_attribute table.






          share|improve this answer















          You have to follow this answer, then you replace the install script with this one:



          <?php
          $this->addAttribute('customer', 'license_number', array(
          'type' => 'int',
          'label' => 'License Number',
          'input' => 'select',
          'position' => 120,
          'required' => false,//or true
          'is_system' => 0,
          'source' => 'eav/entity_attribute_source_table',
          'option' => [
          'values'=> [
          0 => 'Information 1',
          1 => 'Information 2',
          2 => 'Information 3',
          ]
          ],
          ));
          $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
          $attribute->setData('used_in_forms', array(
          'adminhtml_customer',
          'checkout_register',
          'customer_account_create',
          'customer_account_edit',
          ));
          $attribute->setData('is_user_defined', 0);
          $attribute->save();


          Nb: The attribute wil be stored in eav_attribute table.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 14 '17 at 22:04

























          answered Aug 14 '17 at 20:12









          PЯINCƏPЯINCƏ

          8,6823 gold badges11 silver badges50 bronze badges




          8,6823 gold badges11 silver badges50 bronze badges















          • can how i create a table with that?

            – Willian Sugiyama
            Aug 14 '17 at 20:47











          • I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

            – Willian Sugiyama
            Aug 14 '17 at 20:53











          • the solution that i gave you adds the field and attribute in eav_attribute table

            – PЯINCƏ
            Aug 14 '17 at 22:03

















          • can how i create a table with that?

            – Willian Sugiyama
            Aug 14 '17 at 20:47











          • I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

            – Willian Sugiyama
            Aug 14 '17 at 20:53











          • the solution that i gave you adds the field and attribute in eav_attribute table

            – PЯINCƏ
            Aug 14 '17 at 22:03
















          can how i create a table with that?

          – Willian Sugiyama
          Aug 14 '17 at 20:47





          can how i create a table with that?

          – Willian Sugiyama
          Aug 14 '17 at 20:47













          I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

          – Willian Sugiyama
          Aug 14 '17 at 20:53





          I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..

          – Willian Sugiyama
          Aug 14 '17 at 20:53













          the solution that i gave you adds the field and attribute in eav_attribute table

          – PЯINCƏ
          Aug 14 '17 at 22:03





          the solution that i gave you adds the field and attribute in eav_attribute table

          – PЯINCƏ
          Aug 14 '17 at 22:03

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189117%2fadd-a-custom-fields-in-registration-form-with-relationship%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form