How to create field like "email" or "phone"

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yuri
    replied
    I don't know.

    Leave a comment:


  • Ruslan
    replied
    Great working!
    where i can set the default height of the editor?

    Leave a comment:


  • yuri
    replied
    isHtml is a field. Take a look to Email entityDefs

    Leave a comment:


  • Ruslan
    replied
    Hi,
    not working.

    "description":{
    "type": "text",
    "view": "Fields.Wysiwyg",
    "isHtml":true
    },

    Leave a comment:


  • yuri
    replied
    1. Take a look to Espo\Core\ORM\Repositiries\RDB class. There are handleEmailAddressParams and handleEmailAddressSave. You need to create your own Repository for your entity (or extend in custom namespace if italready exists) and define methods handleWebAddressParams and handleWebAddressSave.

    2. Maybe there is dependency on 'isHtml' bool field. Not sure. Try add isHtml field that equals true. If yes, then I will fix in the next version.

    Leave a comment:


  • Ruslan
    replied
    ok. i can try! just give me direction. thanks
    another thing about fields.
    i have change description field in new entity "projects" in entityDefs to this code: to show "Wysiwyg" field and not the regular text field. but this seems not working. i still see the the regular text field

    "description": {
    "type": "text",
    "view": "Fields.Wysiwyg"
    }

    Leave a comment:


  • yuri
    replied
    It's not easy. Needs some development.

    Leave a comment:


  • Ruslan
    started a topic How to create field like "email" or "phone"

    How to create field like "email" or "phone"

    How to create field like "email" or "phone" i want to be able to create multi website field for account.
    because one customer can have more than one website.

    Thanks
Working...