It would be of more help to you if you refer to Edit Account and/or Create
Account modules.
On 11 Oct 2016, 20:23, at 20:23, bhagya.pandhare@xxxxxxxxxxxxxxx wrote:
On 2016-10-11 18:29, abhijith wrote:
On Tuesday 11 October 2016 05:21 PM, bhagya.pandhare@xxxxxxxxxxxxxxxbhagya.pandhare@xxxxxxxxxxxxxxx
wrote:
On 2016-10-11 17:12, bhagya.pandhare@xxxxxxxxxxxxxxx wrote:
On 2016-10-10 16:45, Krishnakant wrote:
On Monday 10 October 2016 03:29 PM,
pleasewrote:
-------- Original Message --------
Subject: ui for units of measurements
Date: 2016-10-10 14:20
From: bhagya.pandhare@xxxxxxxxxxxxxxx
To: gnukhata-devel-bounce@xxxxxxxxxxxxx
Hello everyone,
I am sending raw design for units of measurements, can you
orsee it and suggest changes.
my Questions are
*are we going to keep criteria for deleting records eg. by uomid
recordname
*do we need options for retrieving single record or multiple
Afterhello developers ,*suggest any more changes if needed.
regards,
Bhagyashri, Kanchan.
We are looking into this and will let you know if any changes are
required.
happy hacking.
Krishnakant.
i have done some raw structure , but in that i have one problem
*iin delete section , data can be deleted on certain criteria .
beselecting option from dropdown only its corresponding field should
display, but it's not happening can anyone will help me to do this,i m sending raw structure for units of measurements , please suggest
my html code is,
<div class="w3-panel w3-card-8">
<div class="w3-container">
<h2>Delete the Units</h2>
<div class="w3-dropdown-click">
<button onclick="myFunction()" class="w3-btn">Select
Criteria</button>
<div id="Demo" class="w3-dropdown-content w3-card-4
w3-animate-bottom">
<a href="#uomid">by ID</a>
<a href="#unitname">by Unit Name</a>
<a href="#frequency">By Frequency</a>
</div>
</div>
</div>
<p>
<label>Unit ID</label>
<input class="w3-input w3-border w3-round-large" name="uomid"
id="uomid" type="text"></p>
<p>
<label>Unit Name</label>
<input class="w3-input w3-border w3-round-large" name="unitname"
type="text"></p>
<p>
<label>Frequency</label>
<input class="w3-input w3-border w3-round-large" name="frequency"
type="text"></p>
<script>
function myFunction() {
var x = document.getElementById("Demo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}/*
$("#searchby").getattr(function(event) {
var search = $("#searchby option:selected").val();
if (search=="type")
{
$(".uomid").show();
$(".unitname").hide();
$(".frequency").hide();
}
else if (search=="unitname")
{ $(".uomid").hide();
$(".unitname").show();
$(".frequency").hide();
}
else (search=="frequency"){
$(".uomid").hide();
$(".unitname").hide();
$(".frequency").show();
}
}
*/
</script>
can anyone me guide this where i was wrong?
me if any changes are there.
Frequency field is not to be seen by the user nor shall he be allowed
took i'll hide this field from everywhere.
enter it. We calculate it and just use it in our code to display the
most frequent unit at the top when he is to select one.
So you need to hide the filed everywhere.