CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Ajax example: Two Dependent Listboxes & Autofill - problem

Print topic Send  topic

Author Message
bas
Posted: 04/11/2011, 11:46 PM

I'm trying to follow instructions to recreate this and have run into some
problem:

(1) How do I add this?
<span id="store_productsproduct_name"></span>
<span id="store_productsprice"></span>
<span id="store_productsdescription"></span>
NB: There is NO Product Name item - is this an error?

(2) Step 9 AutoFill
Target Control: product_id *** I only see s_product_id & s_category_idI've
double checked everythingHave I missed something?


damian

Posts: 838
Posted: 04/12/2011, 12:11 AM

you dont ever have to create the html the builder will do it for you.
if its not working for you i suggest you try start a new page and recheck your steps.

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 04/12/2011, 12:40 AM

Hi bas,

please check out the examples at http://examples.codecharge.com/

I hope it helps you.

Greets.

Quote bas:
I'm trying to follow instructions to recreate this and have run into some
problem:

(1) How do I add this?
<span id="store_productsproduct_name"></span>
<span id="store_productsprice"></span>
<span id="store_productsdescription"></span>
NB: There is NO Product Name item - is this an error?

(2) Step 9 AutoFill
Target Control: product_id *** I only see s_product_id & s_category_idI've
double checked everythingHave I missed something?




_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
bas
Posted: 04/12/2011, 3:15 AM

I don't see any of these

id="store_productsproduct_name"
id="store_productsprice"
id="store_productsdescription"

or

<span id="store_productsproduct_name"></span>
<span id="store_productsprice"></span>
<span id="store_productsdescription"></span>
Also I don't see option for adding SPAN from tools menu either !

I do have

<tr class="Controls">
<th>Label1</th>
<td>{price}</td>
</tr>


"damian" <damian@forum.codecharge> wrote in message
news:54da3fb2191112@news.codecharge.com...
> you dont ever have to create the html the builder will do it for you.
> if its not working for you i suggest you try start a new page and
> recheck your steps.
>
> _________________
> if you found this post useful take the time to help someone else.... :)
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

damian

Posts: 838
Posted: 04/12/2011, 4:32 AM

somehow i doubt you are following the instructions...

<tr class="Controls">  
<th>Label1</th>  
<td>{price}</td>  
</tr>

what you have there are labels only. you need to actual convert them to listboxes. please follow the examples - there os not much point in me copying and pasting them for you.
_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
bas60

Posts: 18
Posted: 04/12/2011, 6:19 AM

sorry Damian, I must be really thick

I printed out the instrctuions and following step by step - ticking off as I
go along
done it 4-5 times.
I just can't see where I'm going wrong

Add another record form (store_products ) to your page using the Forms tab
in the Toolbox panel. In the "Add Record Form" dialog:
a.. specify store_products in the Name field
a.. set the number of rows to 2
a.. select Label type of controls **** says label ****
a.. uncheck Allow Insert, Allow Update, Allow Delete options

Rename Label1 to price and Label2 to description.
Use the Insert Row option to insert a row between the price and description
rows.
Add Image control the new row using the image option available in the Forms
Tab of the Toolbox, then name it image_url
Switch to the HTML mode and add the span tags after the product_name, price
and product_description labels as shown in the example:

<span id="store_productsproduct_name"></span> ** Can't see where this is **
<span id="store_productsprice"></span>
<span id="store_productsdescription"></span>

I guess 100's of people have followed the instructions and managed to get it
to work...

:-< :-<
View profile  Send private message
bas60

Posts: 18
Posted: 04/14/2011, 7:56 AM

3 days later and I'm still no where nearer

Guess the instructions are flawed followed it step by step ticking off at each step

Even tried Examples > Ajax but that seems to be full of bugs too..

:-X :-X
View profile  Send private message
bas60

Posts: 18
Posted: 04/14/2011, 8:46 AM

Hey, look I'm not the only one

http://forums.yessoftware.com/posts.php?post_id=98095
http://forums.yessoftware.com/posts.php?post_id=102393
http://forums.yessoftware.com/posts.php?post_id=104214

I guess I was wrong 100's of users must have tried and given up !

oh well...
View profile  Send private message
andy


Posts: 183
Posted: 04/15/2011, 7:48 AM

Ditto. Trying hard but no success with dependent list boxes so far...
_________________
Andy

RAD tools for rich UI controls:
http://www.koolphptools.com
View profile  Send private message
damian

Posts: 838
Posted: 04/15/2011, 2:44 PM

i use the non ajax dependant listboxes - have done so for about 6yrs...
_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
Waspman

Posts: 948
Posted: 04/16/2011, 2:09 AM

As you've seen, occasionally dependent list boxes don't work for me, but on the whole they do. I think it's more likely to be my fault than CCS. ;-)
_________________
http://www.waspmedia.co.uk
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.