Jump to content

zigizal

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

zigizal's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to create a form which has a field called attribute (there are other fields in the form but its this specific one I need help with). I want it that I can input text in the attribute and then there is a button that says ‘Add a line’. I click it and it creates a new input line for attribute. I can input and add as many lines as I want. Then, when I submit the form, these attributes should all be stored in one field called attributes but each inputted text of each line should be surrounded by ‘<li> inputted text </li><br>’ so that it is stored in the db with the bullets and break line so that when outputted, it would be a bullet list. I am having trouble creating the new lines and how I would be able to store the multiple fields into one single field in the db and adding the <li></li><br> tags.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.