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 to the ToolsJX forum!


Display Data After Submit, but ....

  • proyectoc77
  • proyectoc77's Avatar Topic Author
  • Visitor
  • Visitor
4 years 7 months ago #1888 by proyectoc77
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)

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #1889 by tomaz
Use this:

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

How about posting a review on JED? Table JX , Card View JX , Paid Downloads JX

Please Log in or Create an account to join the conversation.

  • proyectoc77
  • proyectoc77's Avatar Topic Author
  • Visitor
  • Visitor
4 years 7 months ago #1892 by proyectoc77
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.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #1893 by tomaz
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

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.175 seconds