What's the fastest way to generate a 1 GB file containing only random numbers? So on the onsubmit event of the form, you can enable the select box so that its value is also submitted when the form is submitted... Note: The element name must be entered in two places in the script (in this example it's "checkgroup"). Copyright © 2000-2015, Alpha Software Corporation | Database Software Home Blog Downloads BreezingForms Pro for Joomla!® BreezingForms Pro for Wordpress® BreezingCommerce Pro - Joomla!® Shopping Cart ContentBuilder CCK for Joomla® check that
You don't need a dropdown field. Originally Posted by moiola Hi Steve, Thank you for your suggestion, but the reason why I'm using dropdown is to show a value from a different table using a key that Why do Internet forums tend to prohibit responding to inactive threads? Of course, he is not able to save a new value, but he can get an impression that he did a change.
I'm not saying there's never a good use case for select or hidden form fields. What difficulty would the Roman Empire have besieging a fantasy kingdom's 49m wall? First store value in variable. I think you want a Calculated Field using a lookup() or lookupc() function to get your exact value, and display that as a Label. Html Select Readonly Vs Disable
In case I base my grid on a view instead of a table, will I still be able to update it? Thus, in Zend Framework 1.12, if $element is a Zend_Form_Element_Select: $value = $element->getValue(); $options = $element->getAttrib('options'); $sole_option = array($value => $options[$value]); $element->setAttrib('options', $sole_option); share|improve this answer answered Mar 29 '13 at Can you teleport or Dimension Door out of your clothes? Doing so the selected option will make it into the post-back data.
I was doing the same. How To Make Select Box Readonly In Php Terms Privacy Security Status Help You can't perform that action at this time. To "disable" all the multi value elements of a checkbox or radio group, follow the steps below.
Goodness Giza Golf! If you have the select element in hand you can write: $select.find('option').not(':selected').attr('disabled', 'disabled'); –Semra Jan 21 '15 at 15:13 Black Brick Software - you sir need an upvote, this You must register before you can post: click the register link above to proceed. But won't work for a , which will still allow users to deselect some of the selected options, thus changing the value. –Michael Bunkin Oct 29 '15 at 15:28 1
Thread Tools Show Printable Version 02-07-2009,02:34 PM #1 moiola View Profile View Forum Posts Private Message Member Real NameOlga Join Date Jun 2008 Posts 94 how do I make dropdown field What tonic chords follow a dominant seventh chord? Demo share|improve this answer edited Feb 1 at 17:36 Álvaro González 81.8k20135204 answered May 2 '14 at 13:03 Vimal 1,6421532 2 This is nice solution for readonly status of SELECT Web - Mobile - Hosting - Products - Framework President at AlphaToGo and IADN (100% Alpha Anywhere Websites) Twitter: alphatogo Reply With Quote 02-07-2009,03:46 PM #5 NoeticCC View Profile View Forum
share|improve this answer answered Oct 25 at 11:19 ahll 677611 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up share|improve this answer answered Jul 4 '13 at 11:01 cernunnos 2,2271814 Maybe .prop("disabled", true) instead –sam Apr 16 '14 at 17:20 add a comment| up vote 4 down vote Is there a Pokémon that can solo the Elite Four without any restoring items? The only problem is that disabled HTML form inputs don't get included in the POST / GET data.
I had assumed since yo said that the hidden input should have the "same name" that the select had a name. –Adam Mar 12 '13 at 16:19 1 What if face-on galaxy and edge-on galaxy Controlling jet engine thrust on airliners How do I get the last lines of dust into the dustpan? So my code is something like: Code: Dim something as c Dim value as c value = alltrim(Data.FIELD_TO_CONVERT) something = sql_lookup( "::name::DBNAME","TABLE","FIELD='" + value + "'", "FIELD_YOU_WANT") 'Write Xbasic code here Since I had to deal with an auto-generated form, this was the only strategy of all given answers I could make work.
So if I change it to Label a code instead of the value will be displayed... Re: Readonly property not working 5 years 2 months ago #47965 Ronayne Steve, Thank you - this works perfectly... However the funny thing is a disabled control doesn't pass the value in it back to the server on submit. The time now is 10:00 PM.