default value on form() function
-
Hi, I tried to replicate the example on: https://docs.pods.io/code/pods/form/
for my own pod like this:$mypod = pods( 'expert_woman' ); $params = array( 'researcher_name', 'surname', 'researcher_email_contact', 'researcher_phone', 'researcher_photo', 'researcher_country', 'research_interests','career_stage', array( 'added_by'=> array( 'default' => '1' ) ) ); echo $mypod->form( $params );
but I’m getting an “Invalid configuration” message without error.
Any idea what could be the problem?
Thanks in advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘default value on form() function’ is closed to new replies.