foto1
Make it simple to transparently display data on a website. Tools JX is a set of database reporting tools for Joomla! All of them are made to be very intuitive and as simple to use as possible.
foto1
Paid Downloads is a solution for you! It is a lightweight and simple-to-use extension, that makes your e-commerce simple and manageable. It uses PayPal's service to execute transactions.


Tools JX

Joomla plugins


Welcome, Guest
Username: Password: Remember me
Welcome to the ToolsJX forum!


TOPIC: Display Data After Submit, but ....

Re:Display Data After Submit, but .... 3 years 1 week ago #1888

  • proyectoc77
  • proyectoc77's Avatar
If I put this code, if(ds="rut|")return; with =
the submit button don't work, so alert(ds); don't give me any result.

If I use this code, if(ds=="rut|")return; with "=="
the submit button work, and alert(ds); show me a pop with this rut%7C%7C (when search box is empty), if I put an id the alert code show me a pop up windows with the di, like this rut%7C98765432-1%7C. (id 98765432-2)
The administrator has disabled public write access.

Re:Display Data After Submit, but .... 3 years 1 week ago #1889

  • tomaz
  • tomaz's Avatar
  • OFFLINE
  • Administrator
  • Posts: 775
  • Thank you received: 55
  • Karma: 8
Use this:

if(ds=="rut%7C%7C")return;
How about posting a review on JED? Table JX, Card View JX, Paid Downloads JX
The administrator has disabled public write access.

Re:Display Data After Submit, but .... 3 years 1 week ago #1892

  • proyectoc77
  • proyectoc77's Avatar
You're a genius!. Now works as I wish.

Another question this applies to this format in particular. Now I've only one grid.

What happens if I set another grid and I need another column to filtrate?.
I would have to put another line in the grid.js?


thanks.
The administrator has disabled public write access.

Re:Display Data After Submit, but .... 3 years 6 days ago #1893

  • tomaz
  • tomaz's Avatar
  • OFFLINE
  • Administrator
  • Posts: 775
  • Thank you received: 55
  • Karma: 8
Hi,

In that case you will need to adjust that code. Probably with another if clause. You could say

if(id="my_id")
if(ds=="rut%7C%7C")return;


You could use alert(id) to check what the id is in the case of the current table that you are using.

However I must warn you that this method that I proposed is not 100 percent safe. One could still get to your data if he puts a bit effort into the thing. If this is an important information that you are tying to hide, you will have to adjust the php code as well.
How about posting a review on JED? Table JX, Card View JX, Paid Downloads JX
The administrator has disabled public write access.
Moderators: tomaz
Time to create page: 0.146 seconds