My Account

Forums

Forums General Populate Field with Data from other Fields

Viewing 3 reply threads
  • Author
    Posts
    • #33563
      cubetech
      Participant

      Hi there

      I’m using post management to create posts in a custom posttype. The post title should be a combination of three fields (for example: Job Title, Name, Surname).

      I created a hidden field witch is populated with the page title (Job Title in this case). Then I would like to add Name and Surname, after an applicant submits the form. How is this possible? If its possible…

      Thanks in advance
      Nico

    • #33566
      Mark Westguard
      Keymaster

      Hi Nico

      In the same hidden field you could add:

      #user_first_name #user_last_name

      This would add the currently logged in users first and last name to that field.

      You can use as many WS Form variables as you wish in the default value of a field.

      Thanks

      Mark

    • #33578
      cubetech
      Participant

      Well that questions was a bit early 🙂

      I found the following solution:

      In conditional logic, on mouse down I set the value of my hidden field “#post_title – #field(12) #field(20)”
      This seems to work.

      For everyone: make sure you don’t clear or allow hidden fields to be processed in actions.

    • #33579
      cubetech
      Participant

      Hi Mark

      Thanks for your answer. The problem is, the users are not logged in. But my work around did the job 🙂

      Good to have so many features. There is a solution for almost everything!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.

Login