using display rules from an input...

User 2831767 Photo


Registered User
24 posts

i have inserted into a form created with form builder an iframe called "myIframe". This iframe load from database some values. This iframe contain an input text called "pagename".

i can see visible the submit button only if the value "pagename" textbox is not empty ?

Thanks
User 187934 Photo


Senior Advisor
20,271 posts

Hi tiziana,
Can you share a link to the form so we can see the problem?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2831767 Photo


Registered User
24 posts

<form action='' method='POST'>
<input type='text' name='name'><input type='submit' name='submitu' value='ok'></input></input>
</form><br />



<?php
$name = "";

if(isset($_POST['name'])){
$name = $_POST['name'];
}


//$name=$_REQUEST['name'];

$db_connection= mysql_connect('localhost','root_ordini','232323');
$db_selection = mysql_select_db('test',$db_connection);

$query = mysql_query("SELECT * FROM clienti WHERE codicecli = '$name'" );

while($row = mysql_fetch_array($query))
{


?>



<input name="pagename" type="text" id="pagename" value="<?php echo $row['intestario']; ?>" readonly>
<p>Keywords</p><br />
<input name="pagekey" type="text" id="pagekey" value="<?php echo $row['mail']; ?>"readonly>



<!-- <p>Description</p><br />
<!-- <input name="pagedesc" type="text" id="pagedesc" value="<?php// echo $row['IDRappresentante']; ?>">
<!-- <p>Content</p><br />
<!-- <textarea name="pagecont" cols="120" rows="20" id="pagecont"><?php// echo $row['alias']; ?></textarea>





<?php
}



?>
Attachments:
User 2831767 Photo


Registered User
24 posts

Eric its in local. i sens the php code of the php file linked to a iframe and the basical project in WFB. I would popolate te input text of the WFB form wint the fields pagename

Thanks
User 187934 Photo


Senior Advisor
20,271 posts

Are you using the iframe script that the form builder provides?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2831767 Photo


Registered User
24 posts

yes with the code into WFB html element


<iframe src='b.php' name='myIframe' height='150' % width='100%' frameborder='0'>
</iframe>
User 187934 Photo


Senior Advisor
20,271 posts

How are you showing the form on your page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2831767 Photo


Registered User
24 posts

yes
User 187934 Photo


Senior Advisor
20,271 posts

Are you using an iframe to show you form on the page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2831767 Photo


Registered User
24 posts

iframe is insert into form created with WFB. the code is inserted into html elements

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.