Hello team,
I am having challenge with the current first project with couchcms.
I am told to use "get_custom_field" to retrieve and store page details. However, I have used it to retrieve extended user's basic detail to be used in form processing. The challenge is it retrieves same record for any extended user that logs in evn though they all have different values to these fields.
Sample code below:
Any assistance from the house, please.
I am having challenge with the current first project with couchcms.
I am told to use "get_custom_field" to retrieve and store page details. However, I have used it to retrieve extended user's basic detail to be used in form processing. The challenge is it retrieves same record for any extended user that logs in evn though they all have different values to these fields.
Sample code below:
- Code: Select all
<input type="text" id="bio_health" value="<cms:get_custom_field var='bio_health' masterpage='users/index.php' page_id='k_user_id' />"> <input type="text" id="bio_dependant" value="<cms:get_custom_field var='bio_dependant' masterpage='users/index.php' page_id='k_user_id' />"> <input type="text" id="bio_next_of_kin" value="<cms:get_custom_field var='bio_next_of_kin' masterpage='users/index.php' page_id='k_user_id' />">
Any assistance from the house, please.