Results 1 to 6 of 6

Thread: How can I know whether post a new thread success?

  1. #1
    Sencha User
    Join Date
    Jun 2017
    Posts
    11

    Default How can I know whether post a new thread success?

    After post the forum interface just show noting about my new thread.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    All threads posted to the Community Discussion forum go through moderation before being approved.

  3. #3
    Sencha User
    Join Date
    Jun 2017
    Posts
    11

    Default

    I know this of course,but if there should be a status of my checking forum,so as not to submit forum repeat

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    When you submit a new thread, there is a message that will show if it was successful or if it will be waiting moderation. After a few seconds, you are then redirected to the thread or forum based on that.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  5. #5

    Default I am new in EXT-JS , please help me which approch is better for custom validation of

    I am new in EXT-JS , please help me which approch is better for custom validation of email.


    {
    xtype: 'textfield',
    fieldLabel: '<span class="red-label">*</span>' + l10n('e-mail-address'),
    name: 'emailAddress',
    regex : /^(")?(?:[^\."])(??:[\.])?(?:[\w\-!#$%&'*+\/=?\^_`{|}~]))*\[email protected](\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/,
    allowBlank: false
    }


    2nd approch:-


    Ext.define(null, {
    override: 'Ext.form.field.VTypes',
    email: function (value) {
    return /^(")?(?:[^\."\s])(??:[\.])?(?:[\w\-!#$%&'*+/=?^_`{|}~]))*\[email protected](\w[\-\w]*\.){1,5}([A-Za-z]){2,10}$/.test(value);
    }
    });

  6. #6
    Sencha User
    Join Date
    Jun 2017
    Posts
    14

    Default

    Quote Originally Posted by deepak1989garg View Post
    I am new in EXT-JS , please help me which approch is better for custom validation of email.


    {
    xtype: 'textfield',
    fieldLabel: '<span class="red-label">*</span>' + l10n('e-mail-address'),
    name: 'emailAddress',
    regex : /^(")?(?:[^\."])(??:[\.])?(?:[\w\-!#$%&'*+\/=?\^_`{|}~]))*\[email protected](\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/,
    allowBlank: false
    }


    2nd approch:-


    Ext.define(null, {
    override: 'Ext.form.field.VTypes',
    email: function (value) {
    return /^(")?(?:[^\."\s])(??:[\.])?(?:[\w\-!#$%&'*+/=?^_`{|}~]))*\[email protected](\w[\-\w]*\.){1,5}([A-Za-z]){2,10}$/.test(value);
    }
    });
    Probably not supposed to post the question here...but anyway - I would try 'vtype' on the field for email validation: https://docs.sencha.com/extjs/6.5.3/...ld.VTypes.html

Similar Threads

  1. Replies: 7
    Last Post: 12 Nov 2014, 8:39 AM
  2. Why Post New Thread is taking along tome
    By storm8 in forum Community Discussion
    Replies: 0
    Last Post: 20 Feb 2012, 12:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •