T
|
thesofa 8/8/2008 |
Go to Visual editor page Concat(Username, " ", Name, " ", Location) ,
|
E
|
emsurban author 8/9/2008 |
Go to Visual editor page Find the field that you want a multiple column drop down for, double click on the box that shows the field type, set up the droip down list box, but where it says Display field, Chose Custom Expression and put in an expression such as That will put spaces between each field value, alter the bit between the quote marks to suit you
|
|
500438 8/9/2008 |
I tried that and it put's all of the field together so you have first name + last name. but I want a drop down list that has |
T
|
thesofa 8/9/2008 |
I thought you were having the weekend off, coming back on Monday? |
|
500439 8/10/2008 |
caught me. I'm one of those sick individuals that just can't stay away from a project until I get it right. and you're still here too. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=32015&image=1&table=forumreplies' class='bbc_emoticon' alt=':lol:' /> |
T
|
thesofa 8/10/2008 |
You're hooked too aren't you? |
|
500440 8/10/2008 |
Yea when you get something to work like you want there's that moment where you do the whoo hoo around the room it's a good feeling. |
T
|
thesofa 8/10/2008 |
I know nothing about iframe, sorry. |
B
|
bgcrmdaddy 8/11/2008 |
Are you trying to send information to iframe which will be displayed in a form or do you want it to be written to the page? <select name="site" size=1 onChange="parent.passText(this.form.site.options[this.form.site.selectedIndex].value) ;"> {php} global $conn; $LookupSQL = "select "; $LookupSQL .="distinct "; $LookupSQL .= "`YourFieldName`"; $LookupSQL .= ",`YourFieldName`"; $LookupSQL .= " from `_YourTable` "; $LookupSQL.="where "."UserID='".$_SESSION["OwnerID"]."'"; $LookupSQL.=" ORDER BY `_YourTable`.`YourFieldName`"; $rs=db_query($LookupSQL,$conn); while($data=db_fetch_numarray($rs)){ foreach($data as $data1){ echo '<option value="'.htmlspecialchars($data[0]).'">'.htmlspecialchars($data[1]).'</option>'; } } {/php} </select> <script> function passText(str) { top.frames['YourFrameName'].document.YourFormName.YourFormField.value = str; } </script> |
|
501325 8/14/2008 |
got it thanks |
I
|
Isterklister 9/18/2008 |
Hello, |
T
|
thesofa 9/18/2008 |
try |
J
|
Jane 9/18/2008 |
Hi, |
K
|
kamil6x 10/3/2008 |
Pardon my Ignorance with phpRunner Javascript but this seems hard to find on the net top.frames['YourFrameName'].document.YourFormName.YourFormField., since it's coded by phprunner, so what are 'YourFrameName' and YorkFormName; searching through the code I don't see references to Frames being named by phpRunner and I usually just use: Are you trying to send information to iframe which will be displayed in a form or do you want it to be written to the page? Generally what you are looking to do is in visual editor switch to HTML mode and insert |