CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Problem with textbox and type="text"

Print topic Send  topic

Author Message
cleyan


Posts: 136
Posted: 11/27/2012, 5:26 AM

Hi
I'm using some frameworks like bootstrap or others that require the textbox include the type="text" inside the <input> labels but CCS (4.x) don't include them when generate the forms, an even if i add it to the label by myself CCS remove the type="text" from existing textboxes

it mean i need: <input type="text" value="..." /> but CCS give me: <input value="..." />

Do you know/imagine a solution?

I have tried disabling the html formating on CCS options but the html code became unreadable afrter a while

Thank you indvanced


Carlos


_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
bannedone


Posts: 273
Posted: 11/27/2012, 9:12 AM

Sure this is easy to do.

Select your textbox.

Select format on the Properties Pane

In the Type dropdown property select Text.

That should do it

Have fun
8-)

_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message
cleyan


Posts: 136
Posted: 11/27/2012, 2:16 PM

thank you but this solution don't work
If i change the type to text using the properties pane or even writting type="text" on html, when i modify the form, it mean adda new control or transforming a control all type="text" are removed

thank you again


Carlos


_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
scarvello

Posts: 64
Posted: 11/27/2012, 2:33 PM

I have the same problem. Any suggestions?
View profile  Send private message
bannedone


Posts: 273
Posted: 11/27/2012, 3:01 PM

Hmmmm

Not sure what to tell you...

I physically tested this in CCS 4.3

I created a textbox

In the properties pane for that textbox I selected the format tab.
Scrolled down to the type property and set it to text.

Looked at the HTML for that textbox and CCS put type="text" into the control's HTML.

Worked just fine. Not sure how you are doing it.. Maybe your page has gotten corrupted.


_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message
cleyan


Posts: 136
Posted: 11/27/2012, 5:43 PM

mmm, maybe

tell me, what kind of standar do you select? html/xhtml

what is the dcotype CCS give you on the pages?

Thank you
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
cleyan


Posts: 136
Posted: 11/28/2012, 6:34 AM

FYI

on CCS tech support says:

Quote :
type="text" is not obligatory and it does not affect on the way how the INPUT works. That's why it is being removed by generator. This is treated as CCS feature and itis not planned to be changed.

I think the problem in this days is almost every modern css/js framework uses the type property of input elements to implement rules

Now I think CCS was a great/revolutionary/futuristic product on 90's but they are stucked on past

Best Regards


Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
bannedone


Posts: 273
Posted: 11/28/2012, 11:17 AM

Hi

Try This....

in your text box HTML put a Template Variable like so..

<input {type} value="..." />

Then in the BeforeShow Event Custom Code do this..

$global $Tpl;
$Tpl->setvar("type","type='text' ");

_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message
cleyan


Posts: 136
Posted: 11/28/2012, 12:16 PM

thank you bannedone

this should work but this is not a very practical solution

thank you again for your interest and time

I'm really thinkin in to look for a new tool to make 21th century web apps

Best Regards


Carlos




_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
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.