8 users online. Create an account or sign in to join them.Users

Search

I have a client that wants 5 text boxes for recipient names, with a matching 5 boxes for their emails.

I am using the ETF extension.

Is there anyway I can combine/concatenate the names and email addresses so that I can have all 10 text boxes, but only one/two field(s) in the section entry takes the data?

Those fields take data as comma separated values, so you could just have two fields called Recipients and Emails and fill both with the names & emails :)

What I mean is… how can I concatenate the input from 10 input boxes and save it into two fields?

Also, how do I keep it from adding extra commas if the user doesn’t use all the text boxes?

Edit: Does event->load() trigger before or after the fields are validated?

If it is before, I can very easily fix my problem with php.

If not, is there somewhere else?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details