NetTalk Central

Show Posts

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.


Topics - ntnewbies

Pages: [1] 2 3 4
1
Web Server - Ask For Help / Multi host certificate
« on: March 07, 2024, 05:33:37 PM »
Hi,
I am running a multi host using nt12.62
The security certificates generate correctly for each domain.
For example:

www.abc.com   ---> ssl ok
www.def.com   ----> ssl ok
www.ghi.com   ----> ssl ok

Now i have added demo.def.com in a domain management and it points to the server correctly.
host.exe able to generate the certificate too.

However, when i load the site, it shows certificate not valid and the common name is www.abc.com

Is there any step that i have missed out?

jason
nt12.62
c11

2
Web Server - Ask For Help / json group in queue
« on: December 11, 2023, 04:01:47 AM »
hi friends,
i have this json declaration

element                  Group,Name('element')
id                         STRING(255),Name('id')
object                     STRING(255),Name('object')
application_               String(250) ,Name('application| opt')
application_fee_percent    String(250) ,Name('application_fee_percent| opt')
automatic_tax              Group,Name('automatic_tax')
enabled                      Byte,Name('enabled | boolean')
                           End
billing_cycle_anchor       Real,Name('billing_cycle_anchor| opt')
billing_thresholds         String(250) ,Name('billing_thresholds')
cancel_at                  String(250) ,Name('cancel_at| opt')
cancel_at_period_end       Byte,Name('cancel_at_period_end| opt | boolean')
canceled_at                String(250) ,Name('canceled_at| opt')
cancellation_details       Group,Name('cancellation_details')
comment                      String(250) ,Name('comment')
feedback                     String(250) ,Name('feedback')
reason                       String(250) ,Name('reason')
                           End
collection_method          STRING(255),Name('collection_method| opt')
created                    Real,Name('created')
currency                   STRING(255),Name('currency')
current_period_end         Real,Name('current_period_end| opt')
current_period_start       Real,Name('current_period_start| opt')
customer                   STRING(255),Name('customer| opt')
days_until_due             String(250) ,Name('days_until_due| opt')
default_payment_method     String(250) ,Name('default_payment_method| opt')
default_source             String(250) ,Name('default_source| opt')
default_tax_rates          String(240) ,Dim(10),Name('default_tax_rates| opt')
description                String(250) ,Name('description| opt')
discount                   String(250) ,Name('discount| opt')
ended_at                   String(250) ,Name('ended_at| opt')
items                      Group,Name('items')
object                       STRING(255),Name('object')
data_                        &dataQueueType,Name('data | queue')
has_more                     Byte,Name('has_more | boolean')
total_count                  Real,Name('total_count')
url                          STRING(255),Name('url')
                           End
latest_invoice             STRING(255),Name('latest_invoice| opt')
livemode                   Byte,Name('livemode | boolean')
metadata                   Group,Name('metadata')
                           End
next_pending_invoice_item_invoice String(250) ,Name('next_pending_invoice_item_invoice| opt')
on_behalf_of               String(250) ,Name('on_behalf_of| opt')
pause_collection           String(250) ,Name('pause_collection| opt')
payment_settings           Group,Name('payment_settings')
payment_method_options       String(250) ,Name('payment_method_options')
payment_method_types         String(250) ,Name('payment_method_types')
save_default_payment_method  STRING(255),Name('save_default_payment_method')
                           End
pending_invoice_item_interval String(250) ,Name('pending_invoice_item_interval| opt')
pending_setup_intent       String(250) ,Name('pending_setup_intent| opt')
pending_update             String(250) ,Name('pending_update| opt')
quantity                   Real,Name('quantity')
schedule                   String(250) ,Name('schedule| opt')
start_date                 Real,Name('start_date| opt')
status                     STRING(255),Name('status| opt')
test_clock                 String(250) ,Name('test_clock| opt')
transfer_data              String(250) ,Name('transfer_data| opt')
trial_end                  String(250) ,Name('trial_end| opt')
trial_settings             Group,Name('trial_settings')
end_behavior                 Group,Name('end_behavior')
missing_payment_method         STRING(255),Name('missing_payment_method')
                             End
                           End
trial_start                String(250) ,Name('trial_start| opt')
                         End
dataQueueType             Queue,Type,Name('data')
id                         STRING(255),Name('id')
object                     STRING(255),Name('object')
billing_thresholds         String(250) ,Name('billing_thresholds')
created                    Real,Name('created')
metadata                   Group,Name('metadata')
                           End
plan                       Group,Name('plan')
id                           STRING(255),Name('id')
object                       STRING(255),Name('object')
active                       Byte,Name('active | boolean')
aggregate_usage              String(250) ,Name('aggregate_usage')
amount                       Real,Name('amount')
amount_decimal               STRING(255),Name('amount_decimal')
billing_scheme               STRING(255),Name('billing_scheme')
created                      Real,Name('created')
currency                     STRING(255),Name('currency')
interval                     STRING(255),Name('interval')
interval_count               Real,Name('interval_count')
livemode                     Byte,Name('livemode | boolean')
metadata                     Group,Name('metadata')
                             End
nickname                     String(250) ,Name('nickname')
product                      STRING(255),Name('product')
tiers_mode                   String(250) ,Name('tiers_mode')
transform_usage              String(250) ,Name('transform_usage')
trial_period_days            String(250) ,Name('trial_period_days')
usage_type                   STRING(255),Name('usage_type')
                           End
price                      Group,Name('price')
id                           STRING(255),Name('id')
object                       STRING(255),Name('object')
active                       Byte,Name('active | boolean')
billing_scheme               STRING(255),Name('billing_scheme')
created                      Real,Name('created')
currency                     STRING(255),Name('currency')
custom_unit_amount           String(250) ,Name('custom_unit_amount')
livemode                     Byte,Name('livemode | boolean')
lookup_key                   String(250) ,Name('lookup_key')
metadata                     Group,Name('metadata')
                             End
nickname                     String(250) ,Name('nickname')
product                      STRING(255),Name('product')
recurring                    Group,Name('recurring')
aggregate_usage                String(250) ,Name('aggregate_usage')
interval                       STRING(255),Name('interval')
interval_count                 Real,Name('interval_count')
trial_period_days              String(250) ,Name('trial_period_days')
usage_type                     STRING(255),Name('usage_type')
                             End
tax_behavior                 STRING(255),Name('tax_behavior')
tiers_mode                   String(250) ,Name('tiers_mode')
transform_quantity           String(250) ,Name('transform_quantity')
type                         STRING(255),Name('type')
unit_amount                  Real,Name('unit_amount')
unit_amount_decimal          STRING(255),Name('unit_amount_decimal')
                           End
quantity                   Real,Name('quantity')
subscription               STRING(255),Name('subscription')
tax_rates                  String(240) ,Dim(10),Name('tax_rates')
                         End


as you notice, there are several occurence of 'id'

i need to get the value of id after plan:

plan                       Group,Name('plan')
id                           STRING(255),Name('id')


i cant get it via json.GetValueByName
any suggestion please
thanks.

jason
c11
nt12.62
jf3

3
Web Server - Ask For Help / Keyboard Field (Numeric)
« on: September 28, 2023, 01:34:40 AM »
Hi Bruce,
In a memory form, i have a local data field called Amount to Pay. In touch screen environment, i want the user to press the keypad for the amount.
Thus, i declare the Amount To Pay as Keyboard. The numeric pad pops up the first time i load the form. But, after i close it, i cant open it again. Even if i type the number, the value drops into the subsequent field.

How do i get this done properly?

Please advice,

regards,
Jason
C11, nt12

4
Web Server - Ask For Help / conditionally disable delete button
« on: September 13, 2023, 11:17:58 PM »
hi,
i have a parent netbrowse and child netbrowse.
the change and delete button is inside the browse (default nettalk change and delete button)
i want to disable the delete button in parent browse if the child browse exist. Otherwise, enable.

whats the best way to do this?

regards,
Jason
nt12.62 c11

5
hi,
i need to add a droplist above the menu header with the option EN/CH  (English / Chinese).
By default, the language is English. If the site visitor select CH, all the text,button and message should be translated to chinese.
What is the best way to accomplish this translation?
Kindly advice.

regards,
Jason
C11
Nt 12.62
jf3

6
Web Server - Ask For Help / LoginPage
« on: November 28, 2022, 09:35:43 PM »
hi
i have 2 netwebform with both of them with User must be logged in ticked.
If i load FormA, it will automatically opens LoginForm if there is no user logged in.
If i load FormB, i want to open LoginForm1 instead of the default LoginForm.
How can i do this?

regards,
Jason
nt12.47
c11

7
Web Server - Ask For Help / PageHeaderTag xhtml
« on: October 15, 2022, 07:07:27 PM »
hi,
What can we put at PageHeaderTag xhtml - Location - BeforeBody and where does it appear?


jason
nt12.47
c11


8
Web Server - Ask For Help / script to put after /body
« on: August 09, 2022, 05:26:46 AM »
hi,
is there a place where i can put script after /body?
i have noticed that in pageheader/pagefooter, there is option before /body but cant find after /body

regards,
jason
c11
nt12.45

9
Web Server - Ask For Help / Memory form in Iframe
« on: May 27, 2022, 02:57:21 AM »
hi friends,
i put a nettalk memory form in a iframe html page.
i could load it correctly.
but that memory page contains a button where it will trigger an api call (means calling a window).
If the page is served under iframe, the button dont work.
Is there any workaround to fix this or nothing can be done?

Your idea please

regards,
Jason
c11
nt12.41

10
hi friends,
how can i enable the netbrowse to be sortable?
i want to drag and drop the records in a browse to reorganize the sort.

anyone tried this ?

jason
nt12.36
c11

11
Web Server - Ask For Help / netwebyear month popup header
« on: December 14, 2021, 08:46:24 PM »
hi,
i call a netwebyear procedure from a memory form.
when i click the month search icon at the header, the popup window appears big and the header cutt off.
as attached image, if i put margin top and left, then the header is shown.
However, in small screen size, the entire popup window is not completely shown. unable to drag too.
how do i fix it?
i have tried the max-width with some values but the window gets truncated.

regards,
jason
nt12.30
c11

12
Web Server - Ask For Help / CKEditor
« on: December 03, 2021, 11:09:16 PM »
hi
i enable ckeditor for a text and if i put a paragraph in it, at desktop view it looks ok.
but in smaller screen, it does not get resize.

also, ckeditor dont have option to select font, make the text center, paragraph indent option like tinymce.


regards,
Jason
nt12.29
c11

13
Web Server - Ask For Help / chat field in netwebform
« on: November 29, 2021, 07:38:37 PM »
hi
what is the use of the chat form field type?

i need to create AI Chat like page. The first screen will ask question with some answers as option. when they select the answer, then i need to show another set of question. some question can have 2 answer option. some will have more than 2 option. thus, both question and answer will be in a separate database.

Please give some ideas on how to do this?

Thank you

regards,
Jason
nt11.53
c11

14
Web Server - Ask For Help / text for select button
« on: November 09, 2021, 12:13:47 AM »
hi
in a browse, when i put a select button without any text, it shows fine with icon.
if i put a text eg 'Select this record' then the button is not resized accordingly to show both text and icon.
how do i fix it?

regards,
jason
nt11.51 c11

15
Web Server - Ask For Help / json format in post data
« on: August 16, 2021, 02:09:42 AM »
hi everyone

i am making an api call and i need to provide some json info inside the post data

postdata = st.getvalue()
posturl = 'api.testdata.payme'

net.post(posturl,postdata)


sample post data:

{
    "order" : {
        "amountOfMoney" : {
            "currencyCode" : "USD",
            "amount" : 2345
        },
        "customer" : {
            "merchantCustomerId" : "1234",
            "billingAddress" : {
                "countryCode" : "US"
            }
        }
    },
    "hostedCheckoutSpecificInput" : {
        "variant" : "testVariant",
        "locale" : "en_GB"
    }
}


usd, 234, 1234, US should be variables.
how do i put it inside string theory?

i have tried the following way but compiler gives error of misused of {{

st.setvalue('{order": {"amountOfMoney" : {"currencyCode" : "' & LOC:CurrencyCode & '","amount" : ' & LOC:Amount......&'}}'

regards,
Jason
nt11.53
c11




Pages: [1] 2 3 4