I hope this report can help the bugs team of SC. I have tried only these few type fields, because these are what I need now, but I think someone in SC should test all events type in all other field types. All three events are attached to the field and each one runs at the appropiate conditions.Ģ.b) radio-button select type field only executes code for the onClick event, BUT onFocus, onChange doesn’t work.Ģ.c) something Albert Drent (aducom) have reported many monthes ago: a menu-link select type field doesn’t run code for onClick or onFocus AJAX events -New Ajax Event: -Select the Event onClick and the desired field, and create: -Add the following macro: scajaxrefresh () -When clicking on the record in that field, the page would be reloading. I have created a text field in my form to show a value set in each of the AJAX events (for example: “in the onClick of xxxx field”).Ģ.a) Select type field works fine executing code for the AJAX events onClick, onFocus, onChange. So, it seems the problem in the select type field was due a bug in the AJAX event handling of the previous autocomplete field. If I change the “autocomplete” field type to simple “text” type, the next field of “select” type can run again onClick, onChange, onFocus code events.Regarding the main reported problem I have discovered the following: It seems something strangeous occurs with the generated code when the type field is changed … the old code could not being deleted well. I have done what carlos2325 describes in his 1st pharagraph and could run onClick event of a radio-button field again. La sentencia fue $check_sql_supervisor \p $check_sql_supervisor = “SELECT idCodigo_supervisor, Jerarquia, " CLIENTES.SUPERVISOR->ONCHANGE: Busco para el supervisor asignado la jerarquia que tiene y se lo asigno a campo clientes.jerarquia_supervisor = supervisores.jerarquia.How I can refresh the value of this field in the FORM?.My problem is you have to update Onchange RANK-SUPERVISOR field, but can not get on-screen tab CLINETES vueva I attempt to show the new value obtained for the field-SUPERVISOR RANK … also in the same process SUPERVISOR I have to get the hierarchy to which it belongs, and assign it to the customers tab CLIENTES.JERARQUIA_SUPERVISOR = SUPERVISOR.JERARQUIA. I have a FORM.CLIENTES with a Select object on the table SUPERVISORS, selecting the SUPERVISOR to fill the field and CLIENTES.SUPERVISORES. My observation is that as if the code generator does not grind them well above and stay old code I had that problem, note that removing onchange event in my case, and generating the code again without the event, plus we change the TYPE-FIELDS, generate the code, went back to create onChange events and there if I grabbed
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |