Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to add another detail and remove birthday

ChanuxChanux Admin of Geek.lk ✭✭
edited April 2012 in Vanilla 2.0 - 2.8

how to add another detail and remove birthday ?

Answers

  • x00x00 MVP
    edited April 2012

    so I would comment out with # like so

    # DoB: 
    #  name: Date of Birth
    #  type: date
    #  validate: Date
    

    in mymeta.yml

    what do you want to add?

    As simple text field would be like so

     FieldName:   
      name: Name of field
      type: text
    

    Note the format is very strict, the indentation the spaces after the colons, etc.

    grep is your friend.

  • ChanuxChanux Admin of Geek.lk ✭✭

    i could remove birthday. no problems

    but i cant add another..
    i want to add school and facebook url

  • x00x00 MVP
    edited April 2012

    It depends what you want to do if you just a want a raw url you could do something like

     Facebook:
      name: Facebook
      type: text
      validate: WebAddress
      params:
       - WebSite
      labeldefault: "%3$s"
    

    You could make sure it is a facebook url

     Facebook:
      name: Facebook
      type: text
      validateregex: "http://(www\.)?facebook\.com/.*"
      params:
       - WebSite
      labeldefault: "%3$s"
      hint: http://facebook.com/#!/profile.php?id=123456789
    

    grep is your friend.

Sign In or Register to comment.