Extracting the value from a field
-
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 xnau.com 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.
- The topic ‘Extracting the value from a field’ is closed to new replies.