Access Ninja forms data to display in another form

938 views Asked by At

I want to display user's submitted data via my Ninja form in another front-end ninja form but I want it to be like:

If I select a user from drop-down, its data should be displayed, If I select another user, its data should be displayed.

1

There are 1 answers

0
chen On

Just a suggest:

A form may have multi submissions from multiple users at multiple time.

You want display a submission from a specific Ninja Form from a specific user at a specific time,

you should bind a section of ajax to Ninja Form , then fetch data from database

$submissions = get_posts(array(
'post_type'=>'nf_sub',
'author' => $from_user_id,
'meta_key' => '_form_id',
'meta_value' => $from_form_id,
));

That could be a little tricky. You might need a freelancer If you not familiar with what I said.