HELP - List Menu 2 fields?
I have a recordset that returns a list of Manager names and
corresponding Manager ID numbers, which are two separate fields in
my database. I would like to create a dynamic list menu and display
both fields. This list menu would be used to drive another search
based on the what was selected from the menu. I need to be able to
only select the manager ID number for the search since it is unique
whereas the manager name could have duplicates. Is this possible???
Your help is appreciated in advance
Do you really need them shown? - i.e. a refresh?
or are you just looking to update 3 fields in the database?
If you are looking to update the database, you can use the
$_POST variable to insert into as many fields in the record as you
want. But his would be done in the MySQL statement, not the
form.
Similar Messages
-
List/Menu a required field
Is there a way to make a list/menu field in a form required
by the user to select an item from its list? I know how to do it
for a text field but not for a list menu.
Thanks,
DaveDownload the Check Form extension from www.yaromat.com as it
has an option
to force the person to select from a drop down and exclude
the first item.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Dave Blake" <[email protected]> wrote in
message
news:esk17i$1aj$[email protected]..
> Is there a way to make a list/menu field in a form
required by the user to
> select an item from its list? I know how to do it for a
text field but
> not for a list menu.
>
> Thanks,
> Dave -
Ensure List/Menu populate my update form with the correct data before update
Hello,
Please how do I ensure my update form is populated with the correct data before update?
On my update page I have text fields and select fields (dynamic list/menu). When I open my profile page to make updates, I see the field well positioned in the text fields but in the select list/menu fields, I see "Select from list" instead of the value that was initiated selected
Correct Values before update
Wrong values during update
As you can see from the images below, when I open the update page, the list automatically populate the select fields with the last values in the list instead of the Initial values that where selected by the user before the update.
Can anyone please review and let me know where I have gone wrong.
Thank you
MikeHello All,
Once more thank you. I have sorted the issue out.
I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
I was selecting this - This is the record set of the table that hold values for the city select list
Instead of this. This is the record set of the table behind the form I am working on
My issue is now re-solved.
Mike -
How to change a list/menu to a text field when 'Other' is chosen?
Hi there. I've been trying to solve this for a week now and I have depleted all my resources, that is why I'm here. I even went to jquery but nothing works and I think I was over-complicating this way too much.
In short: I have a contact form, which have a list/menu with validation, and one of the options of that list/menu is "other". What I want is that when the user select "other" automatically change to a text field in order to let the user put his custom color. This is what I have:
<form method="post" action="process.php">
<span id="spryselect1">
<label for="colors"></label>
<select name="colors" id="colors">
<option selected="option1">Blue.</option>
<option value="option2">White</option>
<option value="option3">Red</option>
<option value="other">other</option>
</select>
<span class="selectRequiredMsg">Please select a colour.</span></span>
<input type="submit" value="Send">
</form>
I know now that the approach is to show/hide a separate textbox besides the other... well. I don't know how to implement that, I think I really need your help guys. I'm completely frustrated.
Thanks in advance.Have a look at the following
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="http://labs.adobe.com/technologies/spry/widgets/selectvalidation/SpryValidationSelect.css" rel="stylesheet">
<link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextField.css" rel="stylesheet">
<style>
.hidden {display:none;}
</style>
</head>
<body>
<form action="" method="post">
<span id="spryselect1">
<label for="colors">Colours:</label>
<select name="colors" id="colors" onchange="MyOnClickHandler(this.value)">
<option value="">Please select...</option>
<option value="blue">Blue</option>
<option value="white">White</option>
<option value="red">Red</option>
<option value="other">other</option>
</select>
<span class="selectRequiredMsg">Please select a colour.</span></span><span id="sprytextfield1">
<input name="other" id="other" class="hidden" type="text">
<span class="textfieldRequiredMsg">A value is required.</span></span>
<input name="" type="submit">
</form>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryDOMUtils.js"></script>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationSelect.js"></script>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
<script>
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
var sprytextfield1;
function MyOnClickHandler(value) {
if(value =='other') { //show text field and set validation
if(!sprytextfield1){
sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
Spry.$$('input#other').removeClassName('hidden');
} else { //hide textfield and destroy validation
if(sprytextfield1 && sprytextfield1.destroy){
sprytextfield1.resetClasses();
sprytextfield1.destroy();
sprytextfield1 = null;
Spry.$$('input#other').addClassName('hidden');
return false;
</script>
</body>
</html>
Gramps -
Please help! How can I validate Radio Buttons and List Menu with PHP.
Hello everyone, I have been learning PHP step by step and
making little projects.
The point is I find it easy to learn by doing "practical
projects."
I have been reading the David Powers's Book on PHP Solutions
and it's really great, however there is nothing mentioned regarding
Validating Radio buttons. I know the book cannot cover every aspect
of PHP and maybe someone in here can help.
I have been learning how to process HTML forms with PHP.
The problem is every book or tutorial I have read or
encountered fall short on validation.
I'm wondering how I can learn to validate Radio Buttons and
Select List Menu.
I have managed to create validation for all other fields but
have no clue as to how I can get validation for Radio Buttons and
List Menu.
I would also like an error message echoed when the user does
not click a button or make a selection and try to submit the form.
I would appreciate any help.
PatrickIt's not that default value is "None." In fact it's not. It
will only be
"none" when the form is submitted.
Also if your submit button is names 'send' then
$_POST['send'] will only be
set if the form was submitted.
Make sure you didn't hit the refresh button on your browser
which usually
reposts the information. Also make sure you did not reach the
form from
another form with the same button names.
Otherwise paste the snippet.
Also you can check what fields are set in the post array by
adding this to
the top of (or anywhere on) your page:
print_r($_POST);
Cosmo
"Webethics" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
Newsgroup User
> Off the top of my head this should be no different than
your radio buttons
> except that 'productSelection' will always fail the
!isset check when the
> form is submitted since the default value is "None", and
therefore always
> set. :-)
>
> So how about this..?
> <?php
> if (isset($_POST['send']) and
($_POST['productSelection'] == "None"))
> {echo "Please select a product.";}
> ?>
>
>
>
>
> "Webethics" <[email protected]> wrote
in message
> news:[email protected]...
> > Another question - how do i applied the code you
just showed me to
> > select
> > menu
> > or select list?
> >
> > This is the list:
> >
> > <div class="problemProduct">
> > <label for="productSelection"><span
class="product_label">Product
> > Name.</span></label>
> > <select name="productSelection" id="products"
class="selection">
> > <option value="None">-------------Select a
product----------</option>
> > <option value="Everex DVD Burner">Everex DVD
Burner</option>
> > <option value="Vidia DVD Burner">Vidia DVD
Burner</option>
> > <option value="Excerion Super Drive">Excerion
Super Drive</option>
> > <option value="Maxille Optical Multi
Burner">Maxille Optical Multi
> > Burner</option>
> > <option value="Pavilion HD Drives">Pavilion
HD Drives</option>
> > </select>
> > </div>
> >
> > I thought I could just change the name is the code
from operatingSystem
> > to
> > productSelection.
> >
> > Something like this:
> >
> > From this:
> >
> > <?php
> > if (isset($_POST[send]) and
!isset($_POST['operatingSystem']))
> > {echo "Please select an operating system.";}
> > ?>
> >
> > To this:
> >
> > <?php
> > if (isset($_POST[send]) and
!isset($_POST['productSelection']))
> > {echo "Please select an operating system.";}
> > ?>
> >
> > But this does not work, any ideas?
> >
> > Patrick
> >
>
>
>
>
> Hey, I tried this about but as you mentioned, since the
default product
> value
> is "None" an error message appears when the page loads.
>
> Is there a way to code this things so that even though
the default value
> is
> "None" there ia no error message untle you hit the
submit?
>
> When I applied the code, it messes up the previous code,
now the operating
> system is requiring an entry on page load.
>
> When I remove the code from the list menu everything
goes back to normal.
>
> I know this is a little much but I have no other
alternatives.
>
> Patrick
> -
Hello Everyone
I am trying to create a webpage that has a List/Menu type
dropdown and what
I want it to do is that when I select an item in the drop
down I want it to
play a specific SWF file right below the drop down. Is this
possible and if
it is can someone supply me with an example.
Thanks in advance
RobertoYour best bet if you are using flash is to combine a flash
dropdown menu with the flash movies. It then should be a fairly
easy to process to script the flash movie to change and play based
on the dropdown selection.
Hope this helps
Paul -
Using MX '04 - created a list/menu - with default entry
showing title of options available upon opening browser. After user
selects item - clicks back to original index page, it display last
selection. I want the menu to reset to title of drop down options.
I am thinking List Values???> <form id="quote" name="quote" method="post"
action="">
In the action you'll need to call a script that in turn sends
the email
to the emails specified.
In the script you have to assign the emails desired as the
recipients.
in PHP it looks something like this (of course very
simplified)
in your form:
<form id="quote" name="quote" method="post"
action="processform.php">
<select name="ddlSalesRep"
id="ddlSalesRep" style="width:248px;">
<option value="Select a Sales Rep."
selected="selected">Select a
Sales
Rep.</option>
<option value="[email protected] ">Dan
T</option>
<option
value="[email protected]">Michel</option>
</select>
in processform.php
<?php
if ($_POST['ddlSalesRep'] != 'Select a Sales Rep.')
{ $recipient = $_POST['ddlSalesRep']; }
else
{ // default value
$recipient = [email protected];
// get other vars from POST
// define other
$subject = 'Mysubject';
$body = ... collection of all vars
//send
mail($recipient,$subject,$body); -
List/Menu (multiple selected) insert into MySQL
I have been building a feedback form and I am running into a
issue that when I place a list/menu that allows multiple selections
when I submit my form in my MySQL database it collected the
information but only on the last multiple selection.
For example, this is what my list/menu looks like.
<select name="occasion" size="5" multiple="MULTIPLE"
id="occasion">
<option value="Spur of the moment,">Spur of the
moment</option>
<option value="Family dinner">Family
dinner</option>
<option value="Special occasion (i.e.
birthday)">Special occasion (i.e. birthday)</option>
<option value="Office get together">Office get
together</option>
<option value="Romantic dinner">Romantic
dinner</option>
<option value="Night out with friends">Night out with
friends</option>
<option value="Business meeting">Business
meeting</option>
<option value="Other">Other</option>
</select>
And my MySQL database I have it set up as...
Field Type
occasion mediumtext
I do not know why I cannot have more than one selection
inputed into my field, what must I do to correct this? Everything
works perfectly expect the multi selected list/menu. I want to
place all that is selected in the list/menu in that one database
field called occasion..oO(MikeL7)
>>You should also test with isset() and is_array() if
$_POST['occasion']
>>is available at all and of the expected type. The
code above will also
>>throw a notice if $insert_string is not initialized
before the loop.
>
> I use both isset and is_array in my code, When you say
notice, you dont mean
>a script stoppiong error?
Nope. An E_NOTICE error won't terminate the script, but
shouldn't happen
nevertheless. While developing, the error_reporting directive
should be
set to E_ALL|E_STRICT and _all_ reported problems should be
solved. It's
not only better coding style, but also helps to prevent real
errors. In
this particular case it was just a guess, because it was only
a part of
the code. But using an uninitialized variable with a '.='
operator for
example would lead to a notice, which should be fixed.
>>But of course this is a really bad DB design, as it
already violates the
>> first normal form (1NF). Just some ideas for queries
that might come to
>> mind, but would be really hard to do with such a
comma-separated list:
>
> A better table design would be to have column for |
list_ID | user_ID |
>song_ID | and do a insert for each song selected.
Yes, something like that.
>Thanks for the input, i like escaping the variables from
a string as they
>stand out more in code view, is the single quote method
faster? And which one
>will be or is already deprecated?
All are correct and won't be deprecated. IMHO it's more or
less just
personal preference. It also depends on the used editor and
its syntax
highlighting capabilities. For example I use Eclipse/PDT for
all my PHP
scripts, which can also highlight variables inside a string.
But if the
above is your preferred way, there's nothing really wrong
with it.
Just some additional thoughts:
Personally I prefer as less escaping and concatenating as
possible,
because such a mixture of single quotes, double quotes, dots
and
sometimes even escaped quote signs (for example when printing
HTML)
_really_ confuses me. I like to keep my code clean and
readable.
Something like this:
print "<img src=\"".$someVar."\" ...>\n";
not only hurts my eye, it is also quite error-prone. It's
easy to miss a
quote or a backslash and get a parse error back, especially
in editors
with limited syntax highlighting (or none at all). So I would
prefer
print "<img src='$someVar' ...>\n";
or even
printf("<img src='%s' ...>\n", $someVar);
When it comes to performance issues, of course there's a
difference
between the various methods. But for me they don't really
matter. In
practice you usually won't notice any difference between an
echo, a
print or a printf() call for example, as long as you don't
call them
a million times in a loop.
So I always just use the method that leads to the most
readable code.
In many cases, especially when a lot of variables or
expressions are
involved, (s)printf() wins. Not for performance, but for
readability.
But as said - personal preference. YMMV.
Micha -
I am trying to update 3 field when I pick field from
List/menu please help how to do this
code below
<select name="LookupLeadNo" id="LookupLeadNo">
<?php
do {
?>
<option value="<?php echo
$row_fmLeads['LeadNo']?>"<?php if
(!(strcmp($row_fmLeads['LeadNo'], $row_fmcustomer['LeadNo'])))
{echo "selected=\"selected\"";} ?>><?php echo
$row_fmLeads['Last Name']?></option>
<?php
} while ($row_fmLeads = mysql_fetch_assoc($fmLeads));
$rows = mysql_num_rows($fmLeads);
if($rows > 0) {
mysql_data_seek($fmLeads, 0);
$row_fmLeads = mysql_fetch_assoc($fmLeads);
?>
</select>lotpb wrote:
> Why when you ask for help on a List/menu its like
talking to nobody, everyone goes into a slumber. Do i need a
different app to do what seems not to complicated.
Maybe its just that today there is no one around how can
answer your
question? It can take a while sometimes to get an answer, as
people who
can help do it out of there own free time.
Dooza -
How can validation list/menu
Hi,
I am created a form, i want to validation to list/menu (job_code field is mandatory).
Anybody enter without a Job_code form submission is not happend.
I am try to validation in dream weaver behavior- validation “field is not display list/menu id”
please help me code is given below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {font-size: 10px}
-->
</style>
</head>
<body>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="header_print.jpg" width="960" height="171" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Home</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Product</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
</td>
</tr>
<tr>
<td width="16%"> </td>
<td width="1%"> </td>
<td width="83%"><form action="careersuccess.php" method="POST" enctype="multipart/form-data" name="frm" class="font">
<table cellpadding="0" cellspacing="0" border="0" width="99%">
<tr>
<td class="body"><strong class="texsmallhead style6">Job Enquiry: </strong></td>
<td class="body"><div align="left"><img src="pic for web/spacer.gif" width="55" height="1" /></div></td>
<td> </td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"><div align="left"></div></td>
<td> </td>
</tr>
<tr>
<td width="23%" class="textbodyhead"> Position Applied for</td>
<td width="13%" class="body"><div align="left">:</div></td>
<td width="64%"><select name="pafor" size="1" id="pafor">
<option selected="selected">---Select Postion---</option>
<option>General Manager---Job---code: GM_001</option>
<option>Senior Manager---Job---code: SM_002</option>
<option>PHP Developer</option>
<option>Programmer</option>
</select> </td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="body">Job_Code</td>
<td class="body">:</td>
<td><select name="job_code" size="1" id="job_code">
<option>-------Select-Job-Code------</option>
<option>GM-001- General Manager</option>
<option>SM-002-Senior Manager</option>
</select>
</td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"><div align="left"></div></td>
<td><span class="style1">Job code is mandateory and same as the position applied for</span></td>
</tr>
<tr><td style="height:3px"></td></tr>
<tr>
<td colspan="3" class="body"><strong class="textbodyhead">QUALIFICATION DETAILS </strong></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Graduation</td>
<td class="body">:</td>
<td><label>
<input name="basic_graduation" type="text" id="basic_graduation" size="25" maxlength="30" />
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Post Graduation</td>
<td class="body">:</td>
<td><label>
<input name="PGCOURSE" type="text" id="PGCOURSE" size="25" maxlength="30" />
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td valign="top" class="textbodyhead">Key Skills</td>
<td valign="top" class="body">:</td>
<td valign="top"><label>
<textarea name="skills" id="skills" cols="30" rows="7"></textarea>
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Relevant Experience </td>
<td class="body">:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%"><select
style="width: 70px;" name="EXPYEAR" id="expyear" class=""><option
value="-1" selected="selected">Year</option><option value="99">Fresher</option><option
label="0" value="0">0</option><option label="1" value="1">1</option><option
label="2" value="2">2</option><option label="3" value="3">3</option><option
label="4" value="4">4</option><option label="5" value="5">5</option><option
label="6" value="6">6</option><option label="7" value="7">7</option><option
label="8" value="8">8</option><option label="9" value="9">9</option><option
label="10" value="10">10</option><option label="11" value="11">11</option><option
label="12" value="12">12</option><option label="13" value="13">13</option><option
label="14" value="14">14</option><option label="15" value="15">15</option><option
label="16" value="16">16</option><option label="17" value="17">17</option><option
label="18" value="18">18</option><option label="19" value="19">19</option><option
label="20" value="20">20</option><option label="21" value="21">21</option><option
label="22" value="22">22</option><option label="23" value="23">23</option><option
label="24" value="24">24</option><option label="25" value="25">25</option><option
label="26" value="26">26</option><option label="27" value="27">27</option><option
label="28" value="28">28</option><option label="29" value="29">29</option><option
label="30" value="30">30</option><option value="31">30+</option></select> </td>
<td width="2%"> </td>
<td width="76%"><select style="width: 90px;"
name="EXPMONTH" id="expmonth" class=""><option value="-1"
selected="selected">Month</option><option label="0" value="0">0</option><option
label="1" value="1">1</option><option label="2" value="2">2</option><option
label="3" value="3">3</option><option label="4" value="4">4</option><option
label="5" value="5">5</option><option label="6" value="6">6</option><option
label="7" value="7">7</option><option label="8" value="8">8</option><option
label="9" value="9">9</option><option label="10" value="10">10</option><option
label="11" value="11">11</option></select></td>
<td width="10%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Your Name</td>
<td class="body"><div align="left">:</div></td>
<td><input name="yr_name" type="text" class="textfield" id="yr_name" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Your E-mail</td>
<td class="body"><div align="left">:</div></td>
<td><input name="yr_email" type="text" class="textfield" id="pafor3" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Phone / Mobile</td>
<td class="body"><div align="left">:</div></td>
<td><input name="ph_no" type="text" class="textfield" id="pafor4" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Street Address</td>
<td class="body"><div align="left">:</div></td>
<td><input name="str_add" type="text" class="textfield" id="pafor5" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> City / State</td>
<td class="body"><div align="left">:</div></td>
<td><input name="city" type="text" class="textfield" id="pafor6" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Zip / Postal Code</td>
<td class="body"><div align="left">:</div></td>
<td><input name="postal_code" type="text" class="textfield" id="pafor7" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Country</td>
<td class="body"><div align="left">:</div></td>
<td><input name="country" type="text" class="textfield" id="pafor8" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr><td style="height:3px"></td></tr>
<tr>
<td width="23%" class="body"><strong class="textbodyhead"> Resume</strong></td>
<td width="13%" class="body"><div align="left">:</div></td>
<td width="64%"><input type="file" name="strresume"></td>
</tr>
<tr>
<td colspan="3" class="textbody">Attach only word document (.doc)</td>
</tr>
<tr>
<td colspan="3" class="body"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%"><img src="pic for web/spacer.gif" width="240" height="1" /></td>
<td width="22%"><input type="submit" value="Send" name="submit" onClick="return validate();"></td>
<td width="25%"><input type="reset" value="Reset" name="reset" /></td>
<td width="25%"> </td>
</tr>
</table></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>Did you ever resolve your validation issue of the 'Position Applied for ' and 'Resume' fields? If not then the solution is below. I've been busy for a couple of days so couldn't get back to this until now.
<?php
if(array_key_exists('submit', $_POST)) {
$pafor = $_REQUEST['pafor'];
if (empty($pafor)) {
$error['pafor'] = "Please select a job vacancy";
$basic_graduation = $_REQUEST['basic_graduation'];
$PGCOURSE = $_REQUEST['PGCOURSE'];
$skills = $_REQUEST['skills'];
$yr_name = $_REQUEST['yr_name'];
$yr_email = $_REQUEST['yr_email'];
$ph_no = $_REQUEST['ph_no'];
$str_add = $_REQUEST['str_add'];
$city = $_REQUEST['city'];
$postal_code = $_REQUEST['postal_code'];
$country = $_REQUEST['country'];
$strresume_name=$_FILES["strresume"]["name"];
$strresume_type=$_FILES["strresume"]["type"];
$strresume_size=$_FILES["strresume"]["size"];
$strresume_temp=$_FILES["strresume"]["tmp_name"];
if($strresume_type=="application/octet-stream" or $strresume_type=="text/plain" or $strresume_type=="application/msword")
$corrcetFile = "Correct file type"; }
else {
$error['$strresume_type'] = "Please select a MS Word file";
if(!isset($error))
$message= '
<table cellspacing="0" cellpadding="8" border="0" width="650">
<tr>
<td colspan="2"></td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Position Applied for:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$pafor.'</td>
</tr>
<tr>
<td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Qualification / Details:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"></td>
</tr>
<tr>
<td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Basic/Graduation:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$basic_graduation.'</td>
</tr>
<tr>
<td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Post Graduation:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$PGCOURSE.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Skills:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$skills.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Your Name:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$yr_name.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Your Email:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$yr_email.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Phone/Mobile:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$ph_no.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Street Address:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$str_add.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>City/State:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$city.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Zip/Postal Code:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$postal_code.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Country:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$country.'</td>
</tr>
</table>
// MAIL SUBJECT
$subject = "Career Enquiry Form";
// TO MAIL ADDRESS
$to="[email protected]";
// MAIL HEADERS
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: Name <[email protected]>\n";
// MAIL HEADERS with attachment
$fp = fopen($strresume_temp, "rb");
$file = fread($fp, $strresume_size);
$file = chunk_split(base64_encode($file));
$num = md5(time());
//Normal headers
$headers = "From:<NINDIYA CAREER ENQUIRY FORM>\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: multipart/mixed; ";
$headers .= "boundary=".$num."\r\n";
$headers .= "--$num\r\n";
// This two steps to help avoid spam
$headers .= "Message-ID: <".gettimeofday()." TheSystem@".$_SERVER['SERVER_NAME'].">\r\n";
$headers .= "X-Mailer: PHP v".phpversion()."\r\n";
// With message
$headers .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 8bit\r\n";
$headers .= "".$message."\n";
$headers .= "--".$num."\n";
// Attachment headers
$headers .= "Content-Type:".$strresume_type." ";
$headers .= "name=\"".$strresume_name."\"r\n";
$headers .= "Content-Transfer-Encoding: base64\r\n";
$headers .= "Content-Disposition: attachment; ";
$headers .= "filename=\"".$strresume_name."\"\r\n\n";
$headers .= "".$file."\r\n";
$headers .= "--".$num."--";
// SEND MAIL
@mail($to, $subject, $message, $headers);
fclose($fp);
header("Location: http://www.bbc.co.uk");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
-->
</style></head>
<body>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="header_print.jpg" width="960" height="171" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="16%"> </td>
<td width="1%"> </td>
<td width="83%"><form action="form.php" method="POST" enctype="multipart/form-data" name="frm" class="font">
<table cellpadding="0" cellspacing="0" border="0" width="99%">
<tr>
<td class="body"><strong class="texsmallhead style6">Job Enquiry: </strong></td>
<td class="body"><div align="left"><img src="pic for web/spacer.gif" width="55" height="1" /></div></td>
<td> </td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"><div align="left"></div></td>
<td> </td>
</tr>
<tr>
<td width="23%" class="textbodyhead"> Position Applied for</td>
<td width="13%" class="body"><div align="left">:</div></td>
<td width="64%">
<select name="pafor" id="pafor" onChange="popfield();">
<option selected="selected" value="">---Select Postion---</option>
<option value="GM">Gneral Manager</option>
<option value="AM">Assistant Manager</option>
<option value="PHD">PHD Developer</option>
<option>Assist Marketing Executive</option>
</select><?php if(isset($error['pafor'])) { echo "<span style='color: #C00; padding-left: 10px;'>".$error['pafor']."</span>"; } ?> </td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="body">Employee Code</td>
<td class="body">:</td>
<td><input type="text" name="emp_code" id="emp_code" value="GM" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"><div align="left"></div></td>
<td> </td>
</tr>
<tr><td style="height:3px"></td></tr>
<tr>
<td colspan="3" class="body"><strong class="textbodyhead">QUALIFICATION DETAILS </strong></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Basic/Graduation</td>
<td class="body">:</td>
<td><label>
<input name="basic_graduation" type="text" id="basic_graduation" size="25" maxlength="30" />
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Post Graduation</td>
<td class="body">:</td>
<td><label>
<input name="PGCOURSE" type="text" id="PGCOURSE" size="25" maxlength="30" />
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td valign="top" class="textbodyhead">Key Skills</td>
<td valign="top" class="body">:</td>
<td valign="top"><label>
<textarea name="skills" id="skills" cols="30" rows="7"></textarea>
</label></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Relevant Experience </td>
<td class="body">:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%"><select
style="width: 70px;" name="EXPYEAR" id="expyear" class=""><option
value="-1" selected="selected">Year</option><option value="99">Fresher</option><option
label="0" value="0">0</option><option label="1" value="1">1</option><option
label="2" value="2">2</option><option label="3" value="3">3</option><option
label="4" value="4">4</option><option label="5" value="5">5</option><option
label="6" value="6">6</option><option label="7" value="7">7</option><option
label="8" value="8">8</option><option label="9" value="9">9</option><option
label="10" value="10">10</option><option label="11" value="11">11</option><option
label="12" value="12">12</option><option label="13" value="13">13</option><option
label="14" value="14">14</option><option label="15" value="15">15</option><option
label="16" value="16">16</option><option label="17" value="17">17</option><option
label="18" value="18">18</option><option label="19" value="19">19</option><option
label="20" value="20">20</option><option label="21" value="21">21</option><option
label="22" value="22">22</option><option label="23" value="23">23</option><option
label="24" value="24">24</option><option label="25" value="25">25</option><option
label="26" value="26">26</option><option label="27" value="27">27</option><option
label="28" value="28">28</option><option label="29" value="29">29</option><option
label="30" value="30">30</option><option value="31">30+</option></select> </td>
<td width="2%"> </td>
<td width="76%"><select style="width: 90px;"
name="EXPMONTH" id="expmonth" class=""><option value="-1"
selected="selected">Month</option><option label="0" value="0">0</option><option
label="1" value="1">1</option><option label="2" value="2">2</option><option
label="3" value="3">3</option><option label="4" value="4">4</option><option
label="5" value="5">5</option><option label="6" value="6">6</option><option
label="7" value="7">7</option><option label="8" value="8">8</option><option
label="9" value="9">9</option><option label="10" value="10">10</option><option
label="11" value="11">11</option></select></td>
<td width="10%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Your Name</td>
<td class="body"><div align="left">:</div></td>
<td><input name="yr_name" type="text" class="textfield" id="yr_name" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead">Your E-mail</td>
<td class="body"><div align="left">:</div></td>
<td><input name="yr_email" type="text" class="textfield" id="pafor3" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Phone / Mobile</td>
<td class="body"><div align="left">:</div></td>
<td><input name="ph_no" type="text" class="textfield" id="pafor4" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Street Address</td>
<td class="body"><div align="left">:</div></td>
<td><input name="str_add" type="text" class="textfield" id="pafor5" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> City / State</td>
<td class="body"><div align="left">:</div></td>
<td><input name="city" type="text" class="textfield" id="pafor6" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Zip / Postal Code</td>
<td class="body"><div align="left">:</div></td>
<td><input name="postal_code" type="text" class="textfield" id="pafor7" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr>
<td class="textbodyhead"> Country</td>
<td class="body"><div align="left">:</div></td>
<td><input name="country" type="text" class="textfield" id="pafor8" size="25" maxlength="100" /></td>
</tr>
<tr>
<td class="body"> </td>
<td class="body"> </td>
<td> </td>
</tr>
<tr><td style="height:3px"></td></tr>
<tr>
<td width="23%" class="body"><strong class="textbodyhead"> Resume</strong></td>
<td width="13%" class="body"><div align="left">:</div></td>
<td width="64%"><input type="file" name="strresume"><?php if(isset($error['$strresume_type'])) { echo "<span style='color: #C00; padding-left: 10px';>".$error['$strresume_type']."</span>"; } ?></td>
</tr>
<tr>
<td colspan="3" class="textbody">Attach only word document (.doc)</td>
</tr>
<tr>
<td colspan="3" class="body"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%"><img src="pic for web/spacer.gif" width="240" height="1" /></td>
<td width="22%"><input type="submit" value="Send" name="submit" onClick="return validate();"></td>
<td width="25%"><input type="reset" value="Reset" name="reset" /></td>
<td width="25%"> </td>
</tr>
</table></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html> -
Help: List/Menus on jsp
can you please help me out on this one. I have questions table, answers table and student info table on my database.
<form METHOD="POST" name="form1">
here I want to get the number of subjects and store in (x).
<%
String[] subjects = {(String)rstry.getObject("subj1"),(String)rstry.getObject("subj2"), (String)rstry.getObject("subj3"), (String)rstry.getObject("subj4"),(String)rstry.getObject("subj5"), (String)rstry.getObject("subj6"), (String)rstry.getObject("subj7"), (String)rstry.getObject("subj8"), (String)rstry.getObject("subj9"), (String)rstry.getObject("subj10")};
for (int i=0; i < subjects.length; i++)
if ( !subjects.equals(""))
x = x + 1;
%>
here I'm getting the qestions
<%
String[] questions = {(String) qsn.getObject("Q1"),qsn.getString("Q2"), qsn.getString("Q3"), qsn.getString("Q4"),qsn.getString("Q5"), qsn.getString("Q6"), qsn.getString("Q7"), qsn.getString("Q8"), qsn.getString("Q9"), qsn.getString("Q10")};
%>
here I create a table rows and columns are determined by the number of subjects(x) and number of questions.
Then depending on number of subjects I display the List/Menu to answer each question by subject.
after this I want to submit the answers i.e. List/menu to answers table but its submitting one answers i.e. List/menu 1.
how can i overcome this. I mean how can I get the value for the rest of List/menu
<table border= "0">
<tr bgcolor="red" height = "50">
<td>QUESTIONS</td>
<% for( int z = 0; z < x; z++){%>
<td bgcolor= >(<%= subjects[z]%>) </td>
<% }%>
<% for( int y = 0; y < 10; y++){%>
<tr>
<td bgcolor="#FF66CC"> <%= questions[y] %></td>
<% for( int a = 0; a < x; a++){%>
<td bgcolor="#66FF33"> <select name="select">
<option value="1">strongly disagree</option>
<option value="2">disagree</option>
<option value="3">agree</option>
<option value="4">strongly agree</option>
</select> </td>
<% }%>
</tr>
<% }%></tr></tr>
</table>
<p>Type your general comments here:
<textarea name="textarea"></textarea>
</p>
<p align="center">
<input type="submit" name="Submit" value="Submit" >
</p>
<input type="hidden" name="MM_insert" value="form1">
</form>
I hope you can help.
Thanks!!it's quite normal not all of the feilds gets submitted. what you need is to create the table rows for answers in a loop and store them in an array (if you want to use the same name for all the answer select lists) in the page that you submit the info to.
here's a snippet:
this is where i create the <input>s for the form (note that all the names for the <input>s will be the same when the loop runs)
while(dba.next())
%>
<tr>
<td><%=dba.getString("ref_en")%><input type='hidden' name='refEn' value='<%=dba.getString("ref_en")%>'> / <%=dba.getString("ref_tr")%><input type='hidden' name='refTr' value='<%=dba.getString("ref_tr")%>'></td>
<td align='center'><input type='text' class='admin_body' name='lang0' size='20' maxlength='50' value='<%=dba.getString("lang_0")%>'></td>
<td align='center'><input type='text' class='admin_body' name='lang1' size='20' maxlength='50' value='<%=dba.getString("lang_1")%>'></td>
<td align='center'><input type='text' class='admin_body' name='lang2' size='20' maxlength='50' value='<%=dba.getString("lang_2")%>'></td>
<td align='center'><input type='text' class='admin_body' name='lang3' size='20' maxlength='50' value='<%=dba.getString("lang_3")%>'></td>
</tr>
<%
this is where i catch them
if(action.equals("updateKeywords"))
String[] refEn = request.getParameterValues("refEn"); // here we get parameters from the posting page into an array. obviously there are many "refEn" parameters coming from many <input> fields with the same name.
String[] refTr = request.getParameterValues("refTr");
String[] lang0 = request.getParameterValues("lang0");
String[] lang1 = request.getParameterValues("lang1");
String[] lang2 = request.getParameterValues("lang2");
String[] lang3 = request.getParameterValues("lang3");
hope this helps.
cem. -
How to find out the list of field exists for a particular transaction
Hi all,
Can u please help me find out the list of field exits available for a particular Tcode?
Is it similar to User exit or . . . . ?
Thanks,
C.Selvaraj
SAP-QMCreate a program and add this code to find user exit
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ', "#EC NOTEXT
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name', "#EC NOTEXT
21 sy-vline ,
22 'Description', "#EC NOTEXT
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill. "#EC NOTEXT
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'. "#EC NOTEXT
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'. "#EC NOTEXT
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
Rewards if useful........................
Minal -
How to delete entries from search help for a field
hi guys
how r u all doing.
i have some questions for u.
1. How can i delete some entries(from a list of many) from search help of a field with out (writing)going to a program.
2.in PA10 (Personnel File),when i try to display data for a pernr,i am getting an error saying that infotype 122 doesnot exist.
3.Again in Pa20,when i try to display data for a custom infotype,it leads me to short dump saying that load program does not exist.
any help in this regard,wud be appreciated.
thanksFollow this
What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support -
F4 help for a field in module pool
Hello Experts,
I need to provide f4 help on field sales office(VKBUR) in my module pool program.
I have searched forums about it. but all forum contains either doc. no or customers etc.
these field are directly available on table, so very easy to find.
But for sales office, how can i provide f4 help. there is no straight entries in tables like for this company code this sales office.
so its getting difficult for me to provide help.
so if anybody know the solution plz help, and if anyone know table where all sales offices are stored, i will be thankful.
Thanks,
AmarHi amar_war,
use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
H_TVBUR has no more parameters, it will display a list of al sales offices with description text
H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
Try standard search help for standard field first.
You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
Regards,
Clemens -
F4 help for a field in item table in a view cluster
Hi All,
I have a view cluster with two tables. I should provide F4 help for field in item table based on the selected row of the header table.
F4 should have only values fetched based on the header table entry.
How can i achieve this. Please suggest.
Regards,
Kusuma K.Hi amar_war,
use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
H_TVBUR has no more parameters, it will display a list of al sales offices with description text
H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
Try standard search help for standard field first.
You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
Regards,
Clemens
Maybe you are looking for
-
Adobe Captivate Help | Adobe Bridge (Cp 7)
This question was posted in response to the following article: http://helpx.adobe.com/captivate/using/adobe-bridge.html
-
How to place a movieclip on top of external swf
Hi there. I have a main.swf in which i load a xml flash slideshow (.swf). I want to place a menu which will be shown in front of the slideshow gallery. I place the menu at an upper layer but the menu appears behind the slideshow. Can anyone help with
-
Videos with choppy sound?
Whenever I take a video with my digital camera, I'll upload it to iTunes and then convert it (origionally a MOV quicktime movie format) and then I'll put it on my ipod. whenever I go to play it, it doesnt play what it should (likes voices and nosie a
-
JavaBeans can interface with OpenOffice
Hi, I ask you another question: any of you have created or used a JavaBeans can interface with OpenOffice?? I modified the java classes and finally managed to create a document. Odt OpenOffice Writer and launch from Eclipse. If I am not using the lib
-
Main Dial not working in Canon 60D
I purchased my 60D kit last month. yesterday, I found that the main dial is not working as it should. It rotates left and right, but no effect on the shutter speed or any settings that uses the main dial, i am always using the manual settings, any su