javascript – action when removing the selection of an input

I have a normal input in html

 

to make an event run, only the .click is used

But what if I need to execute another action when the user clicks outside the entry?
it is necessary that when the selection leaves that imput, a function is executed.

Thank you

web application – Clear accessibility of the input button

I have a text entry with a clear button (it looks like "x"). When clicked, this button will delete all the text of the entry:

enter the description of the image here

The marking for this is seen as:

  

  

How to better describe the meaning of this button and its relation to the input for users who use screen readers (such as NVDA or VoiceOver)?

Failed to treat input in shell script

Why not?
that would work in the following way:

in the /etc/rc.d/ directory we have the following programs
rc.networkmanager
rc.mysqld
rc.postgresql
rc.tomcat
rc.httpd

in the case of the same to start up some seriço I have to do:
bash $ sudo /etc/rc.d/rc.mysqld start

but my goal is to create a script that would change that
and in the event that this is not the case,

bash $ service mysql start

but I do not know what to do, but I do not know what to do, but I do not know what to do.
How could I do it in a simple and better way?

The script is the following:

https://pastebin.com/KEFYMa2E

I started based on:

https://pastebin.com/BCrd4CQZ

Graphic user interface design: How to use the input fields that obtain a value automatically when completing the form?

Imagine that we have an inventory management system. It contains a form where the user can complete an order placed. The order has some properties such as:

  • Date
  • Provider
  • User who ordered it
  • Total price
  • VAT (taxes) as a percentage
  • Tax to pay in money.

On the right side of the form, there is a section (actually, another form) to add products to the order.
The user completes the properties of the order (see bullets above) and adds products to the order.

The total price of the order must be only the sum of the prices of all products added to this order. Therefore, its value could be updated with the correct total price when the list of added products changes. At the same time, this field must remain editable, since in some circumstances the user must be able to change the total price, whatever the actual total price of the products.
The same applies to the tax percentage and money tax fields They should be filled automatically with the correct value according to the predetermined circumstances so that the user has to write fewer fields and can leave them with their automatically filled-in values.

Of course, it is contradictory: on the one hand, the fields must be filled with a calculated value while the user is busy on the form. On the other hand, the user must be able to simply change the value, without the problem that the user's value is overwritten each time the form recalculates and fills in the automatic fields.

I was thinking about a calculate button or something, but this does not seem very clean. The goal is to make the form as smart as possible and make the user write, think and calculate as little as possible.

php – Search file path from the input type = "file"

A good afternoon, at some point I am with a problem, I have the following input of type file, to pick up any file.

When you click to submit, you will enter the same page, if there is any file inside the user[foto], the getFoto () function will be called in the controller.

public function handFoto () {
$ user = new user ();
if (isset ($ _POST['usuario'])) {
User - $> Photo ($ _POST['usuario']);
User - $> pegaFoto ();
}
require_once & # 39; views / view_foto.php & # 39 ;;
}

This function of the controller calls the function getFoto () of the model and also calls the function photo () where I would like to save the path of the file.

public function photo ($ user) {
$ this-> photo = $ user['foto'];
}
public function handFoto () {
// I put the echo just to see what I was throwing
echo $ this-> photo;
}

But the way I did, just take the name of the chosen file, I wonder if I could somehow take the path of the file.

jquery – Is there any better / better / better way to approach this input verifier?

Actually, I got a form with multiple entries (around 39) in which I want to perform some checks and display customs messages based on a set of conditions.

I found a way to address my problem, but I wonder (and I'm pretty sure it exists) if there is a better way to address this.

My problem comes from the fact that there are many custom fields to which I must address (many entries to verify with a custom error viewer per entry and, sometimes, more than a personalized message to send / show), plus a large number of verification to perform.

hideShowError (elem, sub) {function
sub = sub || false;
parentElem = getBoxParent ($ (elem), sub);

yes (parentElem! = false)
parentElem.addClass (& # 39; errorWrapper & # 39;);

false return;
}

hideShowErrorWithMessage function (elem, message, special, sub, noBorder) {
sub = sub || false;
special = special || false;
noBorder = noBorder || false;
parentElem = getBoxParent ($ (elem), sub);

if (parentElem! = false) {
parentElem.addClass (& # 39; errorWrapper & # 39;);
yes
parentElem.addClass (& # 39; errorWrapper-no-border & # 39;);
parentElem.find (& # 39 ;. errorSpe & # 39;). text (message);
special? parentElem.find (& # 39 ;. disable-error & # 39;). addClass ("active"): parentElem.find (& # 39 ;. disable-error-pb & # 39;). removeClass ("active");
}

false return;
}

getBoxParent function (childElem, sub) {
childElem = childElem || "";
sub = sub || false;

if (childElem! = "") {
yes (! sub)
return childElem.closest (& # 39 ;. questBox3 & # 39;);
return childElem.closest (& # 39 ;. subQuestBox3 & # 39;);
}
false return;
}

function testInput () {
var input1 = $ (& # 39; input1-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input1-f & # 39;). is (& # 39 ;: marked & # 39;);
var input2 = $ (& # 39; input2-f & # 39;). is (& # 39 ;: checked & # 39;);
var input3 =! $ (& # 39; input3-t & # 39;). is (& # 39 ;: checked & # 39;) &&! $ (& # 39; input2-f & # 39;). is (& # 39 ;: checked & # 39;);
var input4 = $ (& # 39; input4-f & # 39;). is (& # 39 ;: checked & # 39;);
var input5 =! $ (& # 39; input5-t & # 39;). is (& # 39 ;: checked & # 39;) &&! $ (& # 39; input4-f & # 39;). is (& # 39 ;: checked & # 39;);
var input6 = $ (& # 39; input6-f & # 39;). is (& # 39 ;: checked & # 39;);
var input7 =! $ (& # 39; input7-t & # 39;). is (& # 39 ;: checked & # 39;) &&! $ (& # 39; input6-f & # 39;). is (& # 39 ;: checked & # 39;);
var input8 = $ (& # 39; input8-f & # 39;). is (& # 39 ;: checked & # 39;);
var input9 =! $ (& # 39; input9-t & # 39;). is (& # 39 ;: checked & # 39;) &&! $ (& # 39; input8-f & # 39;). is (& # 39 ;: checked & # 39;);
var input10 = $ (& # 39; input10-t & # 39;). is (& # 39 ;: checked & # 39;);
var input11 =! $ (& # 39; input11-f & # 39;). is (& # 39 ;: checked & # 39;) &&! $ (& # 39; input10-t & # 39;). is (& # 39 ;: checked & # 39;);
var input12 = $ (& # 39; input12-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input12-f & # 39;). is (& # 39 ;: check & # 39;);
var input13 = $ (& # 39; input13-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input13-f & # 39;). is (& # 39 ;: marked & # 39;);
var input14 = $ (& # 39; input14-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input14-f & # 39;). is (& # 39 ;: marked & # 39;);
var input15 = $ (& # 39; input15-f & # 39;). is (& # 39 ;: checked & # 39;);
var input16 = $ (& # 39; input16select option: selected & # 39;). length> 0 && $ (& # 39; input16select option: selected & # 39;). val ()! = 0;
var input17 = $ (& # 39; input17select option: selected & # 39;). length> 0 && $ (& # 39; input17select option: selected & # 39;). val ()! = 0;
var input18 = $ (& # 39; input18 & # 39;). val () length> 0;
var input19 = $ (& # 39; input19 & # 39;). val () length> 0;
var input20 = $ (& # 39; input20 & # 39;). val () length> 0;
var input21 = $ (& # 39; input21 & # 39;). val () length> 0;
var input22 = $ (& # 39; input22 & # 39;). val () length> 0;
var input23 = $ (& # 39; input23 & # 39;). val () length> 0;
var input24 = $ (& # 39; input24 & # 39;). val () length> 0;
var input25 = $ (& # 39; input25-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input25-f & # 39;). is (& # 39 ;: marked & # 39;);
var input26 = $ (& # 39; input26-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input26-f & # 39;). is (& # 39 ;: marked & # 39;);
var input27 = $ (& # 39; input27-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input27-f & # 39;). is (& # 39 ;: check & # 39;);
var input28 = $ (& # 39; input28 & # 39;). val () length> 0 || $ (& # 39; input28-2 & # 39;). val () length> 0 || $ (& # 39; input28-3 & # 39;). val () length> 0;
var input29 = $ (& # 39; input29-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input30-f & # 39;). is (& # 39 ;: marked & # 39;);
var input30 = $ (& # 39; input30-f & # 39;). is (& # 39 ;: checked & # 39;);
var input31 = $ (& # 39; input31-t & # 39;). is (& # 39 ;: checked & # 39;) || $ (& # 39; input32-f & # 39;). is (& # 39 ;: check & # 39;);
var input32 = $ (& # 39; input32-f & # 39;). is (& # 39 ;: checked & # 39;);
var input33 = $ (& # 39; input33 & # 39;). val () length> 0;
var input34 = $ (& # 39; input33 & # 39;). val ()! = "" && (! $. isNumeric ($ (& # 39; input33 & # 39;). val ()) || ($ (& # 39; input33 & # 39;). val ()> 99 || $ ( & # 39; input33 & # 39;). Val () <0));

// input check box
var input35 = $ (& # 39; input35: checked & # 39;). length;
var input36 = $ (& # 39; input36: checked & # 39;). length;

// siret control
var numSiret = ($ (& # 39; input28 & # 39;). val (). toString ()). replace (/  s + / g, & # 39; & # 39;);

var validSiret = ("" == numSiret || (verif_siren_siret (numSiret, 9) && verif_siren_siret (numSiret, 14)))

// Get CP (97, 971, 972 ...)
var departement = & # 39;<%= @adresse.try(:departement) %>& # 39; .match ("^ 97");

// Error checking Question 1 (input)
yes (! entry1)
ret = hideShowError (& # 39; input1-t & # 39;);
// Error checking Question 9 (entry)
yes (input2 &&! input3)
ret = hideShowErrorWithMessage (& # 39; input2-f & # 39 ;,<%= t('sometrad1') %>", false, false, true);
// Checking errors Question 10 (input)
yes (input4 &&! input5)
ret = hideShowErrorWithMessage (& # 39; input4-f & # 39 ;,<%= t('sometrad1') %>", false, false, true);
// Checking errors Question 11 (entry)
yes (input6 &&! input7)
ret = hideShowErrorWithMessage (& # 39; input6-f & # 39 ;,<%= t('sometrad1') %>", false, false, true);
// Checking errors Question 12 (entry)
yes (input8 &&! input9)
ret = hideShowErrorWithMessage (& # 39; input8-f & # 39 ;,<%= t('sometrad1') %>", false, false, true);
// Checking errors Question 13 (entry)
yes (input10 &&! input11)
ret = hideShowErrorWithMessage (& # 39; input10-t & # 39 ;,<%= t('sometrad1') %>", false, false, true);

yes (! input2 && input3)
ret = hideShowErrorWithMessage (& # 39; input2-f & # 39 ;,<%= t('sometrad2') %>", false);
yes (! input4 && input5)
ret = hideShowErrorWithMessage (& # 39; input4-f & # 39 ;,<%= t('sometrad2') %>", false);
yes (! input6 && input7)
ret = hideShowErrorWithMessage (& # 39; input6-f & # 39 ;,<%= t('sometrad2') %>", false);
yes (! input8 && input9)
ret = hideShowErrorWithMessage (& # 39; input8-f & # 39 ;,<%= t('sometrad2') %>", false);
yes (! input10 && input11)
ret = hideShowErrorWithMessage (& # 39; input10-t & # 39 ;,<%= t('sometrad2') %>", false);
yes (! input12)
ret = hideShowError (& # 39; input12-t & # 39;);
if ($ (& # 39; input12-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input13)
ret = hideShowErrorWithMessage (& # 39; input13-t & # 39 ;,<%= t('sometrad2') %>", false true);
yes (! entry14)
ret = hideShowErrorWithMessage (& # 39; input14-t & # 39 ;,<%= t('sometrad2') %>", false true);
yes (entry15)
ret = hideShowErrorWithMessage (& # 39; input13-t & # 39 ;,<%= t('sometrad3') %>", false true);
yes (! input16)
ret = hideShowError (& # 39; input16select & # 39;);
yes (! input17)
ret = hideShowError (& # 39; input17select & # 39;);
yes (entry18)
ret = hideShowError (& # 39; input18 & # 39;);
yes (! input19)
ret = hideShowError (& # 39; input19 & # 39;);
yes (! input25)
ret = hideShowError (& # 39; input25-t & # 39;);
yes ($ (& # 39; input25-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input20)
ret = hideShowError (& # 39; input20 & # 39;);
yes ($ (& # 39; input25-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input21)
ret = hideShowError (& # 39; input21 & # 39;);
if ($ (& # 39; input25-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input22)
ret = hideShowError (& # 39; input22 & # 39;);
yes ($ (& # 39; input25-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input23)
ret = hideShowError (& # 39; input23 & # 39;);
if ($ (& # 39; input25-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input24 && null! = department)
ret = hideShowError (& # 39; input24 & # 39;);
yes (! entry26)
ret = hideShowError (& # 39; input26-t & # 39;);
yes (input26 &&! input27)
ret = hideShowErrorWithMessage (& # 39; input27-t & # 39 ;,<%= t('sometrad2') %>", false);
yes ($ (& # 39; input27-t & # 39;). is (& # 39 ;: marked & # 39;) &&! input28) {
ret = hideShowErrorWithMessage (& # 39; input28 & # 39 ;,<%= t('sometrad4') %>", false);
ret = hideShowErrorWithMessage (& # 39; input28-2 & # 39 ;,<%= t('sometrad4') %>", false);
ret = hideShowErrorWithMessage (& # 39; input28-3 & # 39 ;,<%= t('sometrad4') %>", false);
}
if ($ (& # 39; input27-t & # 39;). is (& # 39 ;: check & # 39;) && $ (& # 39; input28 & # 39;). val (). length> 0 &&! validSiret)
ret = hideShowErrorWithMessage (& # 39; input28 & # 39 ;,<%= t('sometrad5') %>", false);

// Error Check Question 13 (check box)
yes (entry35> 0)
ret = hideShowErrorWithMessage (& # 39; # pb-decence-1 & # 39 ;,<%= t('sometrad2') %>", false, false, true);
if (input35 == 0 && input36 == 0)
ret = hideShowErrorWithMessage (& # 39; # pb-decence-1 & # 39 ;,<%= t('sometrad2') %>", false);

yes (! input29)
ret = hideShowErrorWithMessage (& # 39; input29-t & # 39 ;,<%= t('sometrad2') %>", false);
yes (entry 30)
ret = hideShowErrorWithMessage (& # 39; input29-t & # 39 ;,<%= t('sometrad6') %>", false);

yes (! input31)
ret = hideShowErrorWithMessage (& # 39; input31-t & # 39 ;,<%= t('sometrad2') %>", false);
yes (input32)
ret = hideShowErrorWithMessage (& # 39; input31-t & # 39 ;,<%= t('sometrad7') %>", false, false, true);

yes (! input33)
ret = hideShowErrorWithMessage (& # 39; input33 & # 39 ;,<%= t('sometrad8') %>", false);
yes (entry34)
ret = hideShowErrorWithMessage (& # 39; input33 & # 39 ;,<%= t('sometrad2') %>", false);
}

I also add a block of HTML code (thin), although all the entries are not the same, the general structure is almost the same

div.questGridWrapper
div.questBox
span = t (& # 39; quest_9 & # 39;)
div.questBox
span.special-info
span = t (& # 39; quest_error_warn.warn_0 & # 39;) + ""
            
        
        
        
        div.no-display-info
br
span = t (& # 39; quest_9_prec.sub_1 & # 39;)
br
br
ul
li.li-style
span = t (& # 39; input.sub_2 & # 39;)
span.color O
li.li-style
span = t (& # 39; input.sub_3 & # 39;)
div.questGridWrapper
div.questBox3
div.form-group.radio_buttons
div.form-check-hacked

span.radio
tag for = "t-entry"
- if @ pb_projet_courant.pb_logement.espace_suffisant == true
input.form-check-input.radio_buttons type = "radio" name = "input[value]"check =" check "id =" input-t "value =" true "
= t (& # 39; generic.quest_yes & # 39;)
another thing
input.form-check-input.radio_buttons type = "radio" name = "input[value]"id =" input-t "value =" true "
= t (& # 39; generic.quest_yes & # 39;)

span.radio
tag for = "input-f"
- if @ pb_projet_courant.pb_logement.espace_suffisant == false
input.form-check-input.radio_buttons type = "radio" name = "input[value]"checked =" checked "id =" input-f "value =" false "
= t (& # 39; generic.quest_no & # 39;)
another thing
input.form-check-input.radio_buttons type = "radio" name = "input[value]"id =" input-f "value =" false "
= t (& # 39; generic.quest_no & # 39;)

.Error message
span.errorSpe.errorSpe-noBorder = t (& # 39; someDefaultTrad & # 39;)

(I had to anonymize the code before publishing it, so, unfortunately, getting an example may take a few times, but the code itself works, I'm looking for ways to improve my claims if there is any information on the number of conditions that are verified .

java – How to allow initial input for a word graphic?

I want to create a java program that can find the shortest word scale between two words. It has been suggested that you use a graphical data structure with words as nodes. The idea is that nodes with words that are different by a single character are directly connected.

I am dealing with a text file of possible words that has more than 200,000 different words of various lengths. It seems that that would leave me with a lot of different data structures unless I found some way to connect them.

That is what I am asking. How can I connect these separate graphs in a large graphic when I add new words to the graph?

What is the input process, max php process, max MySQL process?

Hello,
Someone to explain what it is.

Entry process,
Total number of processes,
Maximum php process,
Max MySQL process, etc?

And as the … | Read the rest of http://www.webhostingtalk.com/showthread.php?t=1764137&goto=newpost

php – As a popular autocomplete of an input from data of a select at home

Good personal afternoon, all good with you?

I am developing an application where I found a complicated part (at least for me).
I have a select and, I would like to change the autocomplete of an input according to the element chosen in this select.

Below is the driver:

public function registrationActuality ($ id, Request $ request)
{
$ maqId = $ this-> maintenanceM machines-> find ($ id);

$ user = Auth :: user ();

$ result = [];

$ resultI = [];

$ names = & # 39; & # 39 ;;

$ userNames = & # 39; & # 39 ;;

$ user = $ this-> user maintenance
-> join (& # 39; collaborators & # 39 ;, & # 39; contributors.id & # 39 ;, & # 39; = & # 39 ;, & # 39; manutencao_users.colaborador_id & # 39;)
-> select (& # 39; colaborador.nomecolaborador & # 39 ;, & # 39; manutencao_users.colaborador_id & # 39;)
-> get ();

$ servico = $ this-> ServicoM maintenance
-> select (& # 39; description & # 39 ;, & # 39; id & # 39 ;, & # 39; classification & # 39;)
-> where (& # 39; periodicity & # 39 ;, & # 39;> & # 39 ;, & # 39; 0 & # 39;)
-> get ();

$ machine = $ this-> maintenanceM machines
-> join (& # 39 ;, & # 39; id_setor & # 39 ;, & # 39; = & # 39 ;, & # 39; sectors.id & # 39;)
-> select (& # 39; maintenance_machines. * & # 39 ;, & # 39; sectors.name & # 39;)
-> where (& # 39; maintenance_machines.id & # 39 ;, $ maqId-> id)
-> get ();

$ maqServ = $ this-> ServicoM maintenance
-> join (& # 39; maintenance_maq_servs & # 39 ;, & # 39; manutencao_servicos.id & # 39 ;, & # 39 ;, & # 39 ;, & # 39; manutencao_maq_servs.id_serv & # 39;)
-> join (& # 39; maintenance_machines & # 39 ;, & # 39; maintenance_maq_servs.id_maq & # 39 ;, & # 39; & & 39 ;, & # 39; maintenance_machines.id & # 39;)
-> select (& # 39; maintenance_services.classification & # 39 ;, & # 39; maintenance_services.description & # 39 ;, & # 39; maintenance_services.periodicity & # 39;)
-> where (& # 39; maintenance_machines.id & # 39 ;, $ maqId-> id)
-> get ();

$ manuList = $ this-> MantenimientoAtividadM
-> join (& # 39; maintenance_services & # 39 ;, & # 39; maintenance & # 39; atividades.id_serv & # 39 ;, & # 39; = & # 39 ;, & # 39; manutencao_servicos.id & # 39;)
-> join (& # 39 ;, & # 39; maintenance_ativities.id_user & # 39 ;, & # 39; = & # 39 ;, & # 39; contributors.id & # 39;)
-> select (& # 39; maintenance_activities. * & # 39 ;, & # 39; maintenance_services.classification & # 39 ;, & # 39; collaborator.nomecolaborator & # 39 ;, & # 39; maintenance_services.description AS service & # 39; )
-> where (& # 39; id_maq & # 39 ;, $ maqId-> id)
-> get ();

$ service = $ this-> ServicoM maintenance
-> where (& # 39; maintenance of services & # 39 ;, $ request-> service)
-> get ();

($ service to services)
$ result[] = & # 39; & # 39; & # 39; .trim ($ servicos-> description). & # 39;. "& # 39 ;;
}

if ($ result <> []) {}
$ names = (implode (& # 39;, & # 39 ;, $ result));
}

foreach ($ user to $ manUser) {
$ resultI[] = & # 39; & # 39; & # 39; .trim ($ manUser-> nomecolaborador). & # 39; .trim ($ manUser-> nomecolaborador). "& # 39 ;;
}

if ($ resultI <> []) {}
$ userNames = (implode (& # 39;, & # 39 ;, $ resultI));
}

(in English).
(& # 39 ;, user & # 39 ;, machine & # 39 ;, & # 39 ;, & # 39 ;, & # 39 ;, & # 39 ;, & # 39; maqId & # 39 ;, & # 39 ;, maqServ & # 39 ;, & # 39 ;, & # 39; userNames & # 39 ;, & # 39 ;, & # 39; manuList & # 39;));
}

This is the _form:

(in English) <input name = "machine" id = "machine" class = "form-control" value = ""Description?> "> <input type = "hidden" name = "machines" id = "machines" value = ""ID?> "> @endforeach

This is the vista.blade:

@extends (& # 39; portal.template & # 39;)

@section (& # 39; JSTop & # 39;)


@endsection

@section (& # 39; JSTop & # 39;)
@if ($ user-> email == & # 39; marcelo@souzacambos.com.br & # 39; or $ user-> email == & # 39; manutencao@souzacambos.com.br & # 39;)
@else
// one) {}
$ Target.slideUp ();
}} else {
$ Target.closest ("tr") next () finds ("p") slideToggle () …;
}
});
});
}); //]]>

@endif
@endsection

@section (& # 39; content & # 39;)

Portal of Cambodia
maintenance
Maintenance Record

he came back

New service order @if ($ user-> email == & # 39; marcelo@souzacambos.com.br & # 39; or $ user-> paper == & # 39; admin & # 39;) reports @endif

Maintenance record


{!! Shape :: open (['route'=>'manutencao-save-atividades', 'method'=>'post', 'onsubmit'=>'ShowLoading()'])}}} @include (& # 39; portal.manutencao.servicos._atividades-forma & # 39;)
{!! Form :: send (& # 39; Save & # 39; ['class' => 'btn btn-primary form-control'])}}} {!! Form :: close () !!}

Maintenance made on this machine.

@foreach ($ manuList the $ list) @endforeach

ID

species

technical

service

date

weather

description

{{$ List> id}} @if ($ list-> classification == 1) preventive @elseif ($ list-> classification == 2) corrective @elseif ($ list-> classification == 3) planned @else cleaning @endif {{$ List> nomecolaborador}} {{$ List> Workshop}} {{$ List> data}} {{$ List> time}} {{$ List> Description}}

@endsection

My biggest doubt is, can it be done directly in PHP or will I have to use VueJS or something of the genre?
How can it be done?
I tried using loops and conditional in the controller but, of course it did not work.

Could someone help me please?

I found myself in a lot of places but I did not find anything that could help me.

Since I thank you very much.

Advanced Dynamic Input – Mathematica Stack Exchange

Suppose I have a lot of parameters that I want to interactively configure using dynamic controls, at the same time I update a graph that shows how those parameters affect a particular calculation. I want to be able to enter those values ​​using something like this:

ParameterSelector[param_, initValue_, label_] : =
To block[{orderOfMagnitude = RealExponent[initValue],
value = initValue / 10 ^ orderOfMagnitude},
Panel[Column[{Row[{InputField[Dynamic[value]Number
FieldSize -> 14, ContinuousAction -> True],
Superscript[10, InputField[Dynamic[orderOfMagnitude],
Number, FieldSize -> 3, ContinuousAction -> True]], "=",
Dynamic[NumberForm[N[value 10^orderOfMagnitude]], 6]}],
Row[{Slider[Dynamic[value], {-eleven}], "", label}]}]]]

I can call a single instance of this like this:

ParameterSelector[k1val, 1.34 10^6, "k1"]

Then I visualize a column of these that define all my parameters, and then to the right of this column, I have my graph updated dynamically that depends on those parameters. However, when I try to configure a column of this type, all the quantities of value and orderOfMagnitude are linked, so all my parameters have the same value. I suspect this means that I will need to use DynamicModule, but when I do, it seems that I can not get the correct OrderOfMagnitude and value assignments; It's as if RealExponent stops working correctly. Also, how can I get the dynamically updated values ​​of this function so that I can then (a) use them in my graph and (b) return them to the user as their selection from the general selection panel (I left the variable dummy param in the definition of the function as a place they can go to, but I guess it could work as a return function as well).

Context: This is part of a package I am developing to make kinetic chemical adjustments. I have a mechanism for the user to enter differential rate equations coupled with an arbitrary set of variable parameters. I need the user to be able to vary those parameters and see the results of those parameters in a numerical integration (through NDSolve) of these velocity equations to establish an initial starting point for an automatic adjustment routine. Therefore, the general user interface will have these parameters configuration panels, a graph that shows the plot and the experimental data in which they will try to adjust the model (plus the residuals), and a button to say "ready". The current values ​​of these parameters are passed to the user to use them as a starting point in FindFit (or similar).