Urgent drop down help
using Javascript
I have a drop down with the following
1. jobs
2. annoucements
3.cars
I have few textfields in the same form, one of the textfield
is called
"position" and is not validated and i want to validate it
I want to know how can i write the validation in javascript
or VB script if
someone selects from the dropdown JOBS only the the position
textfield shud
be validated saying that
" you have selected the jobs from the drop down so pls fill
the positition
field "
Murray, thanks for catching me.
OnFocus nothing will be set. You will need blur or change, I
think, not
offFocus.
a.. blur - The input focus was lost.
b.. change - An element lost the focus since it was changed.
c.. focus - The input focus was obtained.
d.. reset - The user reset the object, usually a form.
e.. select - Some text is selected
f.. submit - The user submitted an object, usually a form.
from :
http://www.comptechdoc.org/independent/web/cgi/javamanual/javaevents.html
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> <select onFocus="CalljsScript()">
>
> ?
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "crash" <[email protected]> wrote in message
> news:[email protected]...
>> Process, not script:
>>
>> <form>
>> <DropDownList offFocus="CalljsScript()">
>> </form>
>>
>> jsScript {
>> if FormName.FieldName.Value(forDropDown) ==
JobsValue then
>> set FormName.FieldName.Value(forPosition) == 'you
have selected the
>> jobs from the drop down so pls fill the positition
field'
>> }
>>
>>
>> "Techy" <[email protected]> wrote in
message
>> news:[email protected]...
>>> using Javascript
>>>
>>> I have a drop down with the following
>>>
>>> 1. jobs
>>> 2. annoucements
>>> 3.cars
>>>
>>> I have few textfields in the same form, one of
the textfield is called
>>> "position" and is not validated and i want to
validate it
>>>
>>> I want to know how can i write the validation in
javascript or VB script
>>> if someone selects from the dropdown JOBS only
the the position
>>> textfield shud be validated saying that
>>>
>>> " you have selected the jobs from the drop down
so pls fill the
>>> positition field "
>>>
>>
>>
>
>
Similar Messages
-
To get image in the ALV filter drop down help
Hi,
I have a column named 'Status' in ALV whose cell editor is of type image. I am able to get the image as well.
Now the issue here is while i'll click on the standard filter.. i want to add drop down helps. I am able to get texts but not image.
Can anyone help me on this?
Thanks and Regards
TenzinHello,
i'm facing the same problem, anyone how can help?
Thanks and Regards
Edited by: Christopher Linke on Feb 11, 2011 12:36 PM -
A drop down menu that well doesnt drop down help is needed. ty
So my proof of concept is below. i followed this video tutorial http://www.tutvid.com/tutorials/flash/tutorials/dropDownMenu.php and i came across a problem. the green bar is a menu that lights up and drops a menu down. I created the buttons, then followed by a layer that is the drop down layer that includes an internal layer of a mask layer that drops down. In that sub layer i put in on frame 1 stop(); and on frame 6 stop in a an action script layer. then going back to the initial scene one i gave the drop down menu an instance name and then went into the button layer and gave it some action script below
on(rollOver){
contactMenu.play();
I test the movie no errors just nothing seems to be triggering the menu to do anything, i mean it use to light up now nothing its a dead energizer bunny. I'm up for any suggestion solutions ideas thoughts. or plans to conquer the world. have a pretty solid deadline tomorrow. any help is appreciated!!!what's the following trace() show when you roll over the object to which it's attached:
on(rollOver){
trace(contactMenu);
contactMenu.play(); -
How do i get the combo box to work?
I know how to label things but thats as far as i can get..
i need some help!
All i need is when someone picks an item from the drop down
list, that it goes to that frame associated with that item..
or would doing an input text and button be easier?
that way they just type in what they need and it goes there?
If thats the case, i cant get that to work either..
Any help is appriciated!
Thanks!kglad-
Any code i use isnt working, but its probably because i dont
know what code works and what code doesnt so i just put something
in and go from there, just nothing has worked.
I really dont know much about the drop down feature period
except how to label it. -
Hi, I am working on a couple of new forms for requesting accounts. I have set up some nice drop down menu's but would like to fix them so that when a particular option is selected in one drop down, the next drop down will offer only the options for the selection in the previous menu. Is this feature available in Adobe Professional and if so how could I do this?
Cheers
MichaelHi Michael,
when a particular option is selected in one drop down, the next drop down will offer only the options for the selection in the previous menu
ADDT offers exactly this feature with its "dependant dropdown menus" behaviour.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Help needed to create Drop down help through Design layer for attribute
Hi All,
Has anybody created a Dropdown help through Design layer for standard field, there we have check Box ............
Please Help me to know this ASAP....
Edited by: Pankaj Gupta on Feb 26, 2010 10:52 AMHi,
Here is the exampel Program, i am sending the code for a Paramter, If you want this for the Select-options, then you need to have the paramer name as PS_PARM-LOW and you need to write the smae logic again for PS_PARM-HIGH to get the List box for the select-option
REPORT ZLIST.
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
NAME = 'PS_PARM'.
VALUE-KEY = '1'.
VALUE-TEXT = 'LINE 1'.
APPEND VALUE TO LIST. VALUE-KEY = '2'.
VALUE-TEXT = 'LINE 2'.
APPEND VALUE TO LIST.
CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
START-OF-SELECTION.
WRITE: / 'PARAMETER:', PS_PARM. -
This feature that helps to block ad and social network tracking appeared on the last update, it had a green drop down where I could then get a screen showing the number of tracking that are blocked, not blocked and could block the ones that weren't. Today when Firefox updated it disappeared. I do have the TrackerBlock addon installed, but I found the drop down helpful and would like to get it back.
Sometimes an icon will get removed from the toolbar by another extension. Could you check the Customize dialog to see whether the missing icon is in there? This article has the steps: [[Customize Firefox controls, buttons and toolbars]].
-
Varying the values in drop-down
Hi All,
We have created a report to display certain data using object oriented ALV. In the display, drop-down help is provided for one column.
Now, I want to vary the values in the dropdown help depending on certain criteria.
Is it possible?
Thanks,
Supriya.hi,
go through the given below link..
link:[https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/dropdowns%252bin%252balv]
hope this help you..
Regards
Ritesh J -
I have read a couple pf threadds which talked about this... but i did not find any that solved my problem, hence posting thsi query ...
I have created a New ISR .
I have two fields OLD Position PLANS_OLD_TEXT
New position PLANS_NEW_TEXT
I have the following code in the INT_SERVICE_REQUEST_INIT method of QISR implementation for this Scenario
w_lines = 1.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_TEXT'.
ls_additional_data-fieldvalue = 'New Pos Title 3'.
append ls_additional_data to additional_data.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_TEXT'.
ls_additional_data-fieldvalue = 'New Pos Title 3'.
append ls_additional_data to additional_data.
w_lines = w_lines + 1.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname = 'PLANS_NEW_TEXT'.
ls_additional_data-fieldvalue = 'HR co ordinator 3'.
append ls_additional_data to additional_data.
In the binding tab of the object pallatte i have mentioned $record.PLANS_NEW_TEXT.DATA[*].FIELD as the defautl binding.
Is there anything else that needs to be done to get this F4 drop down help.
I seem to be missing something simple which i am noto abel to get an idea of .. any helpHi Gogol,
Just check whether you have defined KEY and VALUE attribute of the 'PLANS_NEW_TEXT' characteristics in QISRSCENARIO transaction.
If yes, then modify your code:
w_lines = 1.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_VALUE'.
ls_additional_data-fieldvalue = 'New Pos Title 3'.
append ls_additional_data to additional_data.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_KEY'.
ls_additional_data-fieldvalue = w_lines.
append ls_additional_data to additional_data.
w_lines = w_lines + 1.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_VALUE'.
ls_additional_data-fieldvalue = 'New Pos Title 3'.
append ls_additional_data to additional_data.
ls_additional_data-fieldindex = w_lines.
ls_additional_data-fieldname ='PLANS_NEW_KEY'.
ls_additional_data-fieldvalue =w_lines.
append ls_additional_data to additional_data.
Hope this helps,
Amit -
Changing values in drop-down dynamically
Hi All,
We have created a report to display certain data using object oriented ALV. In the display, drop-down help is provided for one column.
Now, I want to vary the values in the dropdown help depending on certain criteria.
Is it possible?
Thanks,
Supriya.HI,
Please refer the program BCALV_EDIT_06.In one form set_drdn_table, Loop the table whose values you want to show in drop down,append and pass to method set_drop_down_table of ALV class.
Hope this helps you
Raj -
Hi Gurus,
I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.Hello,
you have to use ZCI form to use DDLB in WD-ABA. The content of the DDLB has to be present at rendering time, there is no dinamic call when you click the "dropdown".
The attribut you map to the DDLB has to be an element with a value-set, and the value set has to contain the text / value pairs.
>> this will be displayed when you click the dropdown.
Best regards,
Dezso -
Regarding drop down list, any body help me plz.. very very urgent
i have to create a drop down list and in that if i select a value it should go to select query and display hte result in the output
for example if i select open in the inout list. that should go to a partiucular query which i write and after that when i process the report that option open should be displayed in the output
any body help me plz.. very very urgentCheck code below..
TYPE-POOLS: vrm.
CONSTANTS: c_pgp_cmd(20) TYPE c VALUE '/opt/pgp/bin/pgp'.
DATA : droplist TYPE vrm_values,
dropval LIKE LINE OF droplist,
w_command(2000) TYPE c VALUE '/usr/local/bin/ssh'.
DATA: BEGIN OF t_cmdres OCCURS 0,
line(500),
END OF t_cmdres.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.
PARAMETERS: tar_sys(10) TYPE c AS LISTBOX VISIBLE LENGTH 20 LOWER CASE,
filepath TYPE esefilepath,
pgpkey(1000) TYPE c LOWER CASE,
option(25) TYPE c AS LISTBOX VISIBLE LENGTH 15 LOWER CASE,
pass(100) TYPE c.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
PERFORM set_screen.
AT SELECTION-SCREEN OUTPUT.
IF option EQ 'encrypt'(000).
LOOP AT SCREEN.
IF screen-name = 'PASS'.
screen-input = 0.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
ELSEIF option EQ 'set-preferred-ciphers'(001).
LOOP AT SCREEN.
IF screen-name = 'FILEPATH'.
screen-input = 0.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
START-OF-SELECTION.
write:/ 'Done'
*& Form set_screen
FORM set_screen .
dropval-key = 'oapg18dv'(002).
dropval-text = 'oapg18dv : DEV'.
APPEND dropval TO droplist.
dropval-key = 'oapg18te'(003).
dropval-text = 'oapg18te : TEST'.
APPEND dropval TO droplist.
dropval-key = 'oapg18pr'(004).
dropval-text = 'oapg18pr : PRD'.
APPEND dropval TO droplist.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'TAR_SYS'
values = droplist
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
CLEAR: dropval,
droplist[].
dropval-key = 'encrypt'(000).
dropval-text = 'Encrypt'.
APPEND dropval TO droplist.
dropval-key = 'set-preferred-ciphers'(001).
dropval-text = 'Set cipher'.
APPEND dropval TO droplist.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'OPTION'
values = droplist
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
CLEAR: dropval,
droplist[].
ENDFORM. " set_screen
Reward if useful
Function Module <b>VRM_SET_VALUES</b> is used to set values for droplsit..
and be careful about Text Elements in this report.
Regards
Prax -
Urgent help!display db value as selected in drop down using select option
Hi All,
My problem is i had resultset from database and i want to display it as drop down.By default it should show the actual database value for that field also user should be able to change it by selecting from drop down. What is happening is it is by default displaying the last value from the resultset and not the selected one. my code on JSP is :
<%
Statement stm1 = null;
ResultSet rs1 = null;
stm1 = con.createStatement();
rs1 = displog.searchorthodon(con);
String qry1 = "SELECT * FROM orthodontab;";
rs1 = stm1.executeQuery(qry1);
%>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#444444" align="center">
<tr>
<td width="171px" align="right" class="txtFieldLable">Orthodontist :
<td width="171px" align="left" height="33" class="freeformfielddata">
<select name="orthoden">
<% while (rs1.next()){ %>
<option value="<%=inputorthodon%>" selected ><%=rs1.getString("ortho_name")%></option>
<%} %>
</select>
Thanks and Regards.I will be greatful to know where i am going wrong.<% int i = 1;
while (rs11.next()){
if (i==2)
{%>
<option value=i selected ><%=inputap%></option>
<%}
else
%>
<option value=i ><%=rs11.getString("AP")%> </option>
<% }i++;}i=1; %>
</select>
<%
This is a code and here instead of if(i==2) i actually want to compare rs11.next() with inputap. what will be the syntax.any help will be greatful -
Need help with Drop Down Menu _ URGENT!!
Hello -
I'm new to Dreamweaver. I actually have an old version
(Dreamweaver MX 2004).
I'm updating a website for work and this needs to be done as
soon as possible so I'd appreciate if anyone can be so kind as to
shed light on ANYTHING. =/
This is what I need:
I need a drop down menu; when a selection is chosen, I need
information regarding that selection to appear on the bottom of the
page. (I am working off an Excel sheet - it has list of service
descriptions along w/ the unit price, frequency & other fields.
So If I chose "database hosting" off the drop down list,
information would be generated (ie. it's corresponding unit price,
frequencies, etc.)
I've attached an example of a code but I cannot use that code
(which has JavaScript) to tweak what I need exactly.
I am VERY new to this so if anybody can help be out I would
GREATLY appreciate it.
Thanks!!>I buy all their stuff as it
> is excellent.
Double Ditto!
Walt
"Paul Gillard" <[email protected]> wrote in
message
news:gedcoi$d65$[email protected]..
> Hi
> To be honest, the very best thing you can do is to get
hold of a DW
> extension
> from
http://www.projectseven.com
and then you will be able to have a
> completely
> editable 'easy to implement' drop-down menu system! I
buy all their stuff
> as it
> is excellent.
>
> Cheers
> Paul
> -
Its urgent please help me( Drop Down list box)
Hi i am writing th eBDC for VA32 t-code in that screen it is having the dropdown box for the line items i want to select the drop down list in that screen through BDC how we can do this?
Thanks in advanceyes but when we are transfering that value it is not accepting
0 Assigned by the System (Internal)
1 Delivery date too late
2 Poor quality
3 Too expensive
4 Competitor better
5 Guarantee
10 Unreasonable request
11 Cust.to receive replacement
50 Transaction is being checked
the thing is in the drop downbox these text values are coming
but how can i?
Maybe you are looking for
-
When I go to About This Mac and click on Storage it shows 421.93GB as Other. This only leaves 46.85GB of 499.25GB free. How do I find out what this "Other" is so I can remove the stuff I don't need?
-
Is there a way to disable the automatic crash report thing...
I visit a web site that all of a sudden after the "upgrade" I can use flash on, it throws up the flash has crashed message when it really hasn't (IT is a singing site and the flash program scans for your microphone, webcam, etc..and FF throws up the
-
Insert or Replace from Clipboard?
Is there a way to insert or replace a VI from the clipboard? Or maybe a quick drop plugin to do this? Is it possible to do with a quick drop plugin? I ran into a situation earlier where I needed to insert a simple VI to a number of wires in differen
-
Uninstalling Roxio Sonic caused loss of cd burning capability in Itunes 9
I unfortunately removed all Roxio Sonic software from my Win Xp Sp3 computer which caused an error 39 loss of cd/dvd in device manager. I applied the microsoft registry fix involving deleting UpperFilters and LowerFilters values for a specific regisr
-
HT201263 iPhone update ends with unknown error occured (14)
And not only this - it keeps showing the USB - iTunes picture on the screen of the phone. I can not go any forward nor backward. Totally stuck. My first negatuve experience with Apple is really frustrating. I have tried also all of the recommendation