Sergey/Jane/Ann and crew...
I am kindly requesting that you guys please add another example in the online manual in the section that discusses the "Insert Button" feature, found here: http://xlinesoft.com/phprunner/docs/inserting_button.htm
I think myself and the entire xlinesoft community in these forums could benefit by having an example that specifically illustrates how to use that feature in a "Add Page". Currently, the examples cover uses for edit/view and lists pages.
I would like to be able to know how to pass a value from the a add page to the server that has not yet been written to the database (because its in the add page and has not been submitted yet). I thought I could simply use javascript to grab the value entered in a field on the page, then pass that value to be used in a query that looksup a value in another table, then returns than value to the add page and inserts that value into a field so when I save/submit that add page the value is captured.
Simply stated... how do you add a button that looks up field data that has not been submitted/saved so it can be used to populate other fields?
Yes, I am well aware that dependent lookups can perform this action, however, they are currently limited to only being able to reference one other field on the page. And Yes, I know I can cascade those dependencies by using several dependent lookups... however, it can still only reference one at a time. If I was able to control a button to read multiple values from the add page, then use them to process something on the server,I would have much greater power, control, and functionality with my applications.
Therefore, while we wait for a future upgrade that would allow dependent lookups to reference multiple fields at the same time it would be great to have an example on how to do this with the existing insert button feature.
Once again, let me state that I am a very happy customer and I congratulate you and the team for building such a great product. Keep up the good work and the new versions rolling.
Best,
M