Hiển thị các bài đăng có nhãn RSFORM. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn RSFORM. Hiển thị tất cả bài đăng

Thứ Ba, 14 tháng 9, 2021

Joomla 3.10.2 install rsform 3.0 error


Setup: error table rsform no exist, access admin>rsform FAILED
Do install 3-5 times FAILED



Solution:
BACKUP BEFORE DO ANYTHING
1. Remove old version source: remove or change folder components/com_rsform + administrator/components/com_rsform
Step 2,3 is remove record at db relate rsform
2. administrator>component>manage find 'rsform' remove all
3. administrator>component>discover find 'rsform' remove all
4. administrator>configuration Check absolute path tmp + logs
5. Setup again

Status: SOLVED


Thứ Sáu, 3 tháng 6, 2016

Rsform Constant Contact Config

Rsform ConstantContact Config:
#1. Setup plugin constantcontact: enable plugin
#2. Rsform config -> constantcontact: input Account Client, password + key
Account constant contact client:
User client password
Key: naphs3tma2gudkhwnem5f5kg



#3. Rsform > Form > Properties option: constant contact.

Chủ Nhật, 27 tháng 12, 2015

RSFORM Mapping article Current date time

Detail: RSFORM mapping create new article submit. Mapping CreateDate is the same format database datetime.
#Step 1: Add 1 input-text name 'CreateDate' - class hidden (invisible)
#Step2: Add default value:
//<code>
return date('o-m-d H:i:s');
//</code>
This return value the same format database datetime save.

Time zone - example GTM+10
//<code>
$date = date("Y-m-d H:m:s", (time()-(60*60*10)));
return $date;
//</code>
#Step3: mapping add createdate field: {CreateDate:value}

RSFORM dropdown value | text

RSFORM Pro - joomla 3.x
Dropdow item add:
value|Text
Note: separate '|' char.

Example: dropdown require
0|TextA
1|TextB
...

Thứ Tư, 15 tháng 10, 2014

RSFORM Calandar choose date future only



Step1: calendar field-> atributes->min date set: 01/01/2012
Step2 : Components > RSForm!Pro > Manage forms > select your form > Properties > PHP Scripts
add code:
$futureDate = date('m/d/Y', strtotime("+2 days"));  
$formLayout = str_replace("{'mindate': '01/01/2012'}", "{'mindate': '".$futureDate."'}", $formLayout);


Explain: this code will be replace time 01/01/2012 with new date setting
This code from: http://www.rsjoomla.com/support/documentation/view-article/706-how-can-i-prevent-the-user-from-selecting-a-date-in-the-calendar-field.html

Thứ Hai, 2 tháng 9, 2013

RSForm!Pro - How to compare two fields using Javascript

The following script will be used to compare the value of these fields so you can get a confirmation that the data inuted by the user is correct.

You can start by creating a new form. In the "Edit form" you can enter these values:


  • Form Title: Compare
  • Form Name: Compare


  • The next step is to populate the form with the following components:
    1. Email field 1 - Textbox
      Name: email1
      Caption: Email1
      Required: Yes
      Validation: Your validation message here

      Click "Save" next to the component's settings
    2. Email field 2 - Textbox
      Name: email2
      Caption: Email2
      Required: Yes
      Validation: email

      Click "Save" next to the component's settings
    3. Submit button
      Name: compare
      Caption: Compare
      Reset: No
      Additional Attributes: onclick="return checkEmail('email1', 'email2');"

      Click "Save" next to the component's settings

    Go to the "CSS and Javascript" tab and paste the following code:


    <script type="text/javascript">
    function checkEmail(theForm) {
    if (document.getElementById('email1').value != document.getElementById('email2').value)
    {
    alert('Those emails don\'t match!');
    return false;
    }
    else {
    return true;
    }
    }
    </script>

    Click "Save" and that's it.