I am trying to auto populate fields of WP User Frontend WordPress plugin. I tried copying inspected code, and directly creating a template with this code, and it is doing good job, expect, it gives me error admin-ajax.php 403 forbiden... https://pastebin.com/urq85eYb
So I guess WPUF has something that dynamicly creates itself on each new openning of the page for front end post submission, and will work using only a shortcode. Once I use shortcode, fields are not pre-populated, on youtube api search. You can see in pastebin, I put it there as this code is too big to display here, it is youtube api search, and youtube api search fills in the fields of wpuf. It works, except that admin-ajax.php 403 forbidden.
Can I somehow work this around?
I have input or textarea field...
<input class="textfield wpuf_post_title_1372" id="post_title_1372" type="text" data-required="yes" data-type="text" name="post_title" placeholder="" value="" size="40">
<textarea class="textareafield wpuf_post_content_1372" id="post_content_1372" name="post_content" data-required="yes" data-type="textarea" placeholder="" rows="5" cols="25"></textarea>
Populate input value="" with <?php echo $title; ?>
Populate textarea with <?php echo $description; ?>
Result should be...
<input class="textfield wpuf_post_title_1372" id="post_title_1372" type="text" data-required="yes" data-type="text" name="post_title" placeholder="" value="<?php echo $title; ?>" size="40">
<textarea class="textareafield wpuf_post_content_1372" id="post_content_1372" name="post_content" data-required="yes" data-type="textarea" placeholder="" rows="5" cols="25"><?php echo $description; ?></textarea>