This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
287
Web Server - Ask For Help / Re: Display TAB headers when Wizard is used
« on: May 25, 2011, 04:31:17 AM »
Thanks Bruce. There are alternatives for now (like adding a text field at the top of each tab page with its name), but the combined feature will be very nice.
288
Web Server - Ask For Help / Re: URL on a page
« on: May 25, 2011, 04:28:32 AM »
For an external link, it generates properly like this:
<div id="registerpage_stcearnsaver_value_div" class="nt-form-div"><a href="http://www.incasu.co.za" >Terms and Conditions</a>
</div>
But when a Clarion procedure is specified, it shows as a text fields and generates only this:
<div id="registerpage_stcearnsaver_value_div" class="nt-form-div">Terms and Conditions
</div>
I am definitely missing something...
<div id="registerpage_stcearnsaver_value_div" class="nt-form-div"><a href="http://www.incasu.co.za" >Terms and Conditions</a>
</div>
But when a Clarion procedure is specified, it shows as a text fields and generates only this:
<div id="registerpage_stcearnsaver_value_div" class="nt-form-div">Terms and Conditions
</div>
I am definitely missing something...
289
Web Server - Ask For Help / URL on a page
« on: May 25, 2011, 12:33:50 AM »
I want to have a URL to another Clarion page on a form page. I use the URL type on the Fields window. But it doesn't give any option for me to provide the URL i.t.o. a page or external link, and it produces a stock-standard entry box. How can I get a URL link to an existing Clarion page?
(I have been trying to use the search on the NT Central for this, but I can't convince it that I am searching for the word "URL" and not a literal url... If there was not a previous post containing the letters "URL" - by virtue of this post there is one now.)
(I have been trying to use the search on the NT Central for this, but I can't convince it that I am searching for the word "URL" and not a literal url... If there was not a previous post containing the letters "URL" - by virtue of this post there is one now.)
290
Web Server - Ask For Help / Re: Display TAB headers when Wizard is used
« on: May 23, 2011, 01:40:16 AM »
...alternatively I should also be able to change the Page Title depending on the tab on display. But then I would need to know what the current tab heading is. How would I be able to do that?
Thys
Thys
291
Web Server - Ask For Help / Display TAB headers when Wizard is used
« on: May 23, 2011, 01:35:35 AM »
On a lengthy web form - where I split the fields into several tabs - I would like to use the Wizard form style to keep the page small enough to be readable. But then the tab headers are not displayed - like a wizard should work like. Is there any way to retain the tab headings when the Wizard form style is used?
Thys
Thys
292
Web Server - Ask For Help / Re: Field-level validation
« on: May 19, 2011, 12:24:05 AM »
Maybe Bruce can answer this then - if the normal template code does not force the field to be selected, how can it be done in hand code?
Thys
Thys
293
Web Server - Ask For Help / Re: Displaying two buttons side-by-side
« on: May 16, 2011, 12:15:33 PM »
Thank you - it works. In fact, for text fields, when both "Last on line" and "Last in cell" are deselected for all text boxes, then they are also placed next to each other.
294
Web Server - Ask For Help / Field-level validation
« on: May 16, 2011, 10:30:41 AM »
I needed to do a field-level validation. For this field I checked the "Send new value to server" on the Client-Side tab and added code to the Server Code. In there I did the check in code and set loc:altert and loc:invalid when the value was found to be invalid. However the error is correctly displayed BUT the focus is not set to the field in loc:invalid.
I found a similar problem in the web53 sample app - on the MailboxesFormControl procedure with the MAI:NickName field. It has the same behaviour - doesn't give focus to the field set in loc:invalid.
How could the user then otherwise be restricted to the field when invalid?
Thys
I found a similar problem in the web53 sample app - on the MailboxesFormControl procedure with the MAI:NickName field. It has the same behaviour - doesn't give focus to the field set in loc:invalid.
How could the user then otherwise be restricted to the field when invalid?
Thys
295
Web Server - Ask For Help / Displaying two buttons side-by-side
« on: May 12, 2011, 06:11:12 AM »
I need to have two buttons next to each other on a tab of a form. Currently they show below each other because they are listed as fields on the tab. Is there a way to have them next to each other - other than maybe changing the CSS?
Thys
Thys
296
Web Server - Ask For Help / Re: Message to user
« on: May 11, 2011, 10:23:01 PM »
Hi Bruce,
I was either a popup message ("windows message") to display the result, or a simple piece of text on a page to show that the action was completed successfully. Both are adequate for the purpose.
I agree that "windows message" is misleading - "popup message" might be better descriptive.
Thanks
I was either a popup message ("windows message") to display the result, or a simple piece of text on a page to show that the action was completed successfully. Both are adequate for the purpose.
I agree that "windows message" is misleading - "popup message" might be better descriptive.
Thanks
Hi Thys,
I'm intrigued by this line;
"I want it to be a normal windows message and not some information on a web page."
Given that the browser could be on any OS - indeed on any device, the reference to a "windows message" is somewhat misleading I think.
I presume by "windows message" you mean you want a "popup dialog window"?
something like;
p_web.Script('alert("hello bruce");')
?
Cheers
Bruce
297
Web Server - Ask For Help / Re: Message to user
« on: May 10, 2011, 11:29:22 PM »
Robert,
It looks like that won't work - according to the manual: "Set if a field is invalid. Text will be sent to the browser for display as an error."
But I will try it anyway.
Thanks
It looks like that won't work - according to the manual: "Set if a field is invalid. Text will be sent to the browser for display as an error."
But I will try it anyway.
Thanks
298
Web Server - Ask For Help / Message to user
« on: May 10, 2011, 11:19:05 PM »
I need to display a message to a user after successfully creating a login. I want it to be a normal windows message and not some information on a web page. How do I do that?
Thys
Thys