Support » Plugin: Participants Database » Extracting the value from a field

  • phillipnauer


    Hi Roland,

    Are you able to help in identifying field descriptions for data extraction and output please?

    I am attempting to extract the value from selected fields and output them on screen.

    The only value I have been able to successfully extract is from the “id” field.

    I replicated the “if ( !empty( $this->participant_id ) )” line from the pdb-record-default.php file/code and returned a successful outcome when executing the command
    “echo $this->participant_id”.

    I tried to apply the same principles to other fields without success. I used:
    “echo $this->first_name”
    “echo $this->participant_first_name”
    and both options returned blank screen output.

    I made sure the fields name were correct spelling, spaces included, and I also check the blog site unsuccessfully for a solution.

    Oh, one other thing, the template on which I am trying to insert the code is set up to display groups which I’m not sure is affecting my efforts.

    I hope I have given enough information to help you understand my intentions.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.