Completed

Gravity Form submission on behalf of other person

Hi!

I have this code that is placed in [login to view URL] and will add to a gravity form a drop-down menu with the list of currents WordPress users.

What the developer has to do is that when I select a user of the dropdown, the gravity form submission is done in the name of the selected user.

This means that the gravity form entry in the backend should appear as created and submitted by the user I selected from the drop-down.

Conditions of this project:

- No environment or ftp or WordPress will be given

- Code must be sent to me in order to test and place and release funds.

- Budget is 10USD, if you bid more you will not be considered.

- Automatics bots go away.

Code:

add_filter("gform_pre_render", "populate_userdrop");

//Note: when changing drop down values, we also need to use the gform_admin_pre_render so that the right values are displayed when editing the entry.

add_filter("gform_admin_pre_render", "populate_userdrop");

function populate_userdrop($form){

// echo '<pre>'; print_r($form)

$form_id = $form['id'];

if($form_id==122){

$items = array();

$metas = get_users();

if (is_array($metas))

{

foreach($metas as $meta) $items[] = array("value" => $meta->display_name, "text" => $meta->display_name);

}

foreach($form["fields"] as &$field)

if($field["id"] == 1){

$field["choices"] = $items;

}

return $form;

}else{

return $form;

}

}

Evner: CSS, Javascript, PHP, WordPress

Se mere: html code gravity form, notification admin message code gravity form, coupon code gravity form paypal, php, mysql, wordpress, javascript, jquery, preview form submission gravity forms wordpress, zip code radius functions php, email form submission vbnet code, secure online form submission joomla, asp form submission, form submission script excel, populate pdf file web form submission, form submission joomla, free form submission code, php form submission automatically, joomla form submission, email function doesnt work form submission

Om arbejdsgiveren:
( 33 bedømmelser ) Buenos Aires, Argentina

Projekt ID: #17349608

Tildelt til:

subhajit2306

Hello I have checked your project descriptions . I have done almost according to you in this project . Relevant Skills and Experience Php,jQuery,Mysql,Wordpress Proposed Milestones $15 USD - complete project within h Flere

$15 USD in 0 dage
(5 bedømmelser)
2.5

5 freelancere byder i gennemsnit $18 på dette job

$30 USD på 1 dag
(219 bedømmelser)
6.5
$25 USD på 1 dag
(2 bedømmelser)
2.3
vinivst

Hello kiwii! I'm really excited about Gravity Form submission on behalf of other person and want to work with you. I’m a mobile/web/software designer and developer with more than three years of experience in creative d Flere

$10 USD in 10 dage
(0 bedømmelser)
0.0
baanh

Hi, I am a CS student that is very new to Freelancer. I would love to help you with your code. Look forward to hearing back. Thanks.

$10 USD in 3 dage
(0 bedømmelser)
0.0