This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

display one value for selection then fill in another


  1. fmf321
    Member

    I need to create a field, for example a pull down field, that displays a name for selection but inputs an id number into the field. For example selecting "john doe" would enter "1" into the field while selecting "jane doe" would enter "2" into the field. Is there a way to do this?

    Posted 9 years ago #
  2. Saghalie
    Pro Member

    Perhaps you could use a JavaScript code to do this?

    Regards,

    Saghalie
    http://www.kcmhosting.com

    Posted 9 years ago #
  3. AMurray
    Pro Member

    I was thinking this could be done with conditional logic if that functionality existed.

    What you'd do was create a rule, such as "if name = John Doe" then set name to 1" and so on through all the options, or you could have a separate field called "ID" that then is populated based on the logic rule, rather than overwriting the form field (dropdown) value.

    As it stands the Logic settings are currently only for showing/hiding/skipping fields or pages, or emailing specific reciepients or sending data to another website based on the logic rules,

    Posted 9 years ago #

RSS feed for this topic

Reply