Posts by Felipe Moura Shurrab • 341 points
24 posts
-
0
votes1
answer14
viewsQ: Display XML parameters in PHP
I’m creating a routine of reading XML files in a directory, but I’m having trouble presenting the XML elements. The XML file: <?xml version="1.0" encoding="UTF-8"?> <Report…
-
3
votes3
answers769
viewsQ: Table button to update the row
I have a table, in the last column of each row I add a button. I need to click the update button, my question is: How I will reference the line with the button? For example a table with the…
-
4
votes1
answer260
viewsQ: Validate fields in a form made with jQuery-Steps
The form has two Steps, I was able to validate the first step using the onStepChanging. But in the second step where there are fields that need to be validated, the user action becomes Submit, which…
-
0
votes2
answers263
viewsQ: Form Validation - Step by Step (Javascript)
I am making a form based on this template: https://colorlib.com/etc/bwiz/colorlib-wizard-22/index.html But I need the validation to be done for the fields! You cannot go to the next STEP until this…
-
1
votes1
answer210
viewsQ: Start and end of a month/year last in parameter (Oracle)
I need you to return the total monthly data according to the MONTH and YEAR parameter reported. I did it this way: WHERE a.dt_mesano_referencia between to_date('01/'|| :NR_MES ||'/'|| :NR_ANO ||'…
-
2
votes2
answers2468
viewsQ: Expand/collect table content by clicking on title
I have a table, I want when loading the page to have its hidden content, and when clicking on the title (in the example below awaiting) then load the content, and again by clicking on the title the…
-
0
votes1
answer1195
viewsQ: Create weight mask (kg)
I need a mask, preferably in Javascript, for the user to enter his weight in KG. That is, with two decimal places and separated by comma.
-
0
votes2
answers114
viewsQ: If it doesn’t fit in the div, show: more x results
I need to solve the following problem: I have a div that displays a list of names that are loaded according to a query condition. This list of names varies a lot, sometimes appears 5, sometimes…
-
0
votes0
answers58
viewsQ: Register in table if query returns result (Oracle)
I’m developing a call panel. I have a query that results in the client call (name/password/Guiche), this query shows the result for 10 seconds, after that it is empty until the next call. I need…
-
1
votes1
answer30
viewsQ: Bring descriptive information from a PHP sequence
I have a form, one of the fields is a dropdown that consults and brings the results as below: <select name="convenio" id="convenio" class="input" style="width:260px"> <option…
-
1
votes1
answer463
viewsQ: Create 90-day filter before a period
I need you to bring back the results that completed 90 days within an informed period. For example, I have the ability to do: DT_INICIO_REAL <= (sysdate-90), I will have as a result 90 days from…
-
3
votes1
answer485
viewsQ: Search the bank in real time
How can I do in PHP so that when the user type in the search field it already appears the database records. For example, assuming that it is a register of cities, the user type "Field", should…
-
1
votes2
answers725
viewsQ: Limit Editfor input in MVC
I have a character limiter for TEXT only. Now I need the characters to be limited in only 2 (I want to make the user type the state, for example: PR, SP, RJ...). How I do it?…
-
0
votes1
answer1070
viewsQ: Load DIV automatically with Ajax
I need a drug IVD to be filled in the moment the user chooses one of the options in a combobox (subtype). In my index I have the combobox, where I created the Ajax script as below:…
-
0
votes0
answers50
viewsQ: Make a while run from the click of a button
I have a form that must be filled out automatically. But this fulfillment depends on a user’s choice, so it should be executed after the choice, I believe a button would be ideal. To illustrate the…
-
-1
votes1
answer208
viewsQ: Write to BD without mask applied by jQuery
I am doing a project in MVC and with the use of jQuery I made CPF mask as below: $(document).ready(function() { $(".cpf").mask("999.999.999-99"); $(".cpf").addClass("form-control"); }); Follow my…
-
0
votes1
answer84
viewsA: Updating the SQL database in the MVC project
Solved. It was the file with extension .EDMX. After updating it everything worked.
-
0
votes1
answer84
viewsQ: Updating the SQL database in the MVC project
I made a column change in my SQL BD in my ASP.NET MVC project. I changed a column of Cliente_RG (INT) for Cliente_Bairro (String). In SQL the change was OK. In the project, in all tables (think) the…
-
2
votes2
answers1143
viewsQ: Create Javascript mask using jQuery
I have a customer registration page in my MVC project requesting standard data such as name, Cpf, dt nasc... I need to create masks of these fields. After researches I reached the plugin offered by…
-
1
votes2
answers99
viewsQ: Procedure for storing in backup tables?
I have two tables, sales and salesProducts because of the volume of information in these tables reading/writing operations are slow. I need to create a database that stores this data (from the sales…
-
1
votes1
answer584
viewsQ: Create Precedent to adjust price as per conditions (SQL Server)
In a comic book of a bookstore need to create a precedent to readjust the price column according to the percentage and gender reported (using transaction control). Like I should do? create table…
-
2
votes2
answers1894
viewsQ: Create total sales (value) per customer (SQL)
I need to make a procedure to install the column cli_TotalCompras of the customer table with the total (in value) of the customer’s purchases. On the table vendaProduto have the value…
-
-1
votes1
answer172
viewsQ: Validate blank fields
I have a form with 3 fields to be filled and stored in bank. One of the fields is filled by the system the rest by the user. boolean isInserted = myDb.insertData(editNome.getText().toString(),…
-
1
votes1
answer970
viewsQ: Change variable from another class
I have two Activity/classes, follow the boot of my first Activity where when I click goes to the second Activity: public void onButtonClick(View v){ if(v.getId() == R.id.Busuarios){ Intent i = new…