'Add Another' link in options.

Matthew Hawley

Well-known member
So what if I wanted to have 5 text options and wanted to have a 'add another' link to add another text option. How could I do this?
 

Chris D

XenForo developer
Staff member
Do you mean like the list of Facebook Admins you can configure in Admin CP > Options > Facebook Integration?

Use the settings of that option and its template as a reference.
 

Jeremy

Well-known member
Chris is telling you to look into the XenForo ACP and use the basics of the Facebook integration code there (for the option) to learn how to accomplish what you want. You will need to be in debug mode.
 

Matthew Hawley

Well-known member
Ohhh I thought you were talking about something else.

Now, how do I get two text boxes next to each other. For example.

(Text box) (Text Box)
 

Jeremy

Well-known member
Then you'll have to modify CSS and HTML. Use Facebook's code as a basis, not a copy and paste.
 

Jeremy

Well-known member
The system isn't design to have two separate options together completely as you want. Any type of CSS solution would require it to be the same option. Open up Chrome's element inspector and start messing with CSS. Its the best way to learn.
 

Jeremy

Well-known member
He is using a custom display, with custom backend handling (to store the option) and each one that is displayed on the same line is within the same option.
 
Top