RSjoomla!

My Account






Lost Password?
No account yet? Register

Newsletter Subscribe

If you would like to be one of the first people to hear about the release of our new components then make sure you have subscribed to our announcements list! We won't bug you with unnecessary stuff.




RSjoomla! Board
These forums are to discuss any RSjoomla! related questions. Please note that official support is offered via Customer Support Ticketing System only, responses in the forum are not guaranteed.
Welcome, Guest
Please Login or Register.
Lost Password?
Re:Query MySql and output in another readonly field. (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Re:Query MySql and output in another readonly field.

#2990
tribedude (User)
Fresh Boarder
Posts: 5
graphgraph
Query MySql and output in another readonly field. 2008/05/19 00:41 Karma: 0  
I would be very pleased if this scenario has a solution :

I need to check data inserted in one field, and check the input against a MySql database,
output the result of the query in the readonly field next to it.
In the same form, on the same page, before the submit button is pressed!


Possible anyone ?
  The administrator has disabled public write access.
#4638
nettemor (User)
Junior Boarder
Posts: 31
graphgraph
Re:Query MySql and output in another readonly field. 2008/09/12 16:38 Karma: 0  
Hi,
Did you find any solution to this ?

I also need to implement this functionallity.
  The administrator has disabled public write access.
#4640
dragonjc (User)
Expert Boarder
Posts: 145
graphgraph
Re:Query MySql and output in another readonly field. 2008/09/12 17:44 Karma: 4  
Maybe one solution is this :
First create your selectlist with code.
Into special attributes, insert the javascript code on a change or exit field action (of your choise, just learn javascript) and for action = write :
javascript:location.reload()

Into second field, in manage, write a code (learn knowledgbase from rsform pro) with your request.
This code will not be execute on first load, but will execute on reload.

I don't know if it is fonctionned, but maybe it is.

Second solution is this :
Into your manage form, create a select list for select country.
Add a hide field.
Into process, write your request. It will be execute on submit action. User will not see the result of request but is it reallly necessary ?
Component RS SHow Form in build
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop