Input value dosen’t update after 1st refresh
-
Hi,
I observed that dynamic value (‘1namefromDB’) got from function “funRequestorNameFromDB” are loaded correctly in the first page load, but when I change values in PHP code ( for ‘2namefromDB’) they are not reflected on page reload (neither by reset button nor by browser refresh, etc.). How can I force page/Contact form to get new values from function “funRequestorNameFromDB” with each page refresh ?Just example for one of default values.
My tag in Control Form 7:
<label> Requestor name
[dynamictext* RequestorName readonly “RequestorNameFromDB”] </label>My code in functions.php
add_shortcode( ‘RequestorNameFromDB’, ‘funRequestorNameFromDB’ );
function funRequestorNameFromDB() {
$RequestorNameFromDB = ‘1namefromDB’;
return $RequestorNameFromDB;
}Regards,
Miroslaw KazmierczakThe page I need help with: [log in to see the link]
The topic ‘Input value dosen’t update after 1st refresh’ is closed to new replies.