> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/form-designer/condition-rules/conditions-rules.md).

# قواعد الشروط

## ⌨️ قواعد الشرط

قواعد الشرط تُعرّف شرطًا يجب تقييمه داخل [مجموعة شروط](/ar/form-management/form-designer/condition-rules/condition-groups.md). يمكنك امتلاك قاعدة شرط واحدة أو أكثر لكل [مجموعة شروط](/ar/form-management/form-designer/condition-rules/condition-groups.md).

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBrLHXZnTZbpgDfM92s%2F-MBrTzFKkDKEoKN-Dq-o%2Fimage.png?alt=media\&token=e3c56cf8-7cc2-4a29-807e-8877ff267e5f)

1. نوع الشرط الذي سيتم تقييمه.
2. إنشاء نسخة من القاعدة.
3. حذف القاعدة.
4. عامل منطقي (AND / OR) للتطبيق إذا كان لديك قواعد شرط متعددة في نفس المجموعة.

## &#x20;🔅 أنواع الشروط

يمكنك استخدام أنواع الشروط التالية لبناء قواعد شروطك.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBrLHXZnTZbpgDfM92s%2F-MBrTgAb7MEB0lUI1V7G%2Fimage.png?alt=media\&token=52d62d9f-8599-429e-87d5-71aeada66f3f)

* **`سؤال`**&#x62A;تيح لك تحديد [شرط سؤال](/ar/form-management/form-designer/condition-rules/conditions-rules/question-conditions.md) استنادًا إلى إجابات المستجيب على ذلك السؤال.
* **`نقطة`** تتيح القواعد تحديد شروط بناءً على المجموع الكلي لـ [النقاط](/ar/form-management/form-designer/scoring.md) للمستجيب، يمكن أن تكون إما المجموع الكلي في لحظة معينة أو درجة لسؤال محدد.
* **`سمة المشارك`** تتيح لك تحديد قواعد استنادًا إلى [المشارك](/ar/panels/panelists.md) الذي تم تسجيل دخوله حاليًا في استبيانك باستخدام [عنصر أمان اللوحة](/ar/form-management/security/security-items/panel-security.md). يجب أن يكون قد تم تحديد لوحة واحدة على الأقل في عنصر الأمان الخاص بك لتتمكن من استخدام هذه الميزة. &#x20;
* **`متغير سلسلة الاستعلام`** تتيح لك تحديد قواعد استنادًا إلى قيمة متغير سلسلة الاستعلام.
* **`عضو في اللوحة`** تتيح لك تحديد قواعد استنادًا إلى [لوحة](/ar/panels.md) عضوية المستجيب في لوحة. هذه الميزة متاحة حاليًا فقط مع [مرشحات التقرير](/ar/form-management/reports/filters.md).
* **`عرض عضو في اللوحة`** تتيح لك تحديد قواعد استنادًا إلى أعضاء [عرض اللوحة](/ar/panels/panel-views.md). هذه الميزة متاحة حاليًا فقط مع [مرشحات التقرير](/ar/form-management/reports/filters.md).
* **`اللغة`** تتيح لك تحديد قواعد استنادًا إلى [اللغة](/ar/form-management/form-designer/multi-language-forms.md) التي يعمل بها الاستبيان حاليًا.
* **`نوع الجهاز`** تتيح لك تحديد قواعد استنادًا إلى جهاز المستجيب: هاتف محمول، سطح مكتب أو [PDF](/ar/form-management/data-export/pdf-acroforms.md).
* **`نطاق تاريخ الاستجابة`** تتيح لك تحديد نطاق تاريخي مع تاريخ بدء وتاريخ انتهاء تمت فيهما الإجابة على الاستبيان. هذه الميزة متاحة فقط مع [مرشحات التقرير](/ar/form-management/reports/filters.md).
* **`Javascript`** تتيح لك تطوير [شروط معقدة باستخدام جافاسكربت](/ar/form-management/form-designer/condition-rules/conditions-rules/javascript-conditions.md) اللغة.
* **`مستخدم السياق`** تتيح لك تحديد ما إذا كان الشرط سيتطابق استنادًا إلى المستخدم المسجّل حاليًا في [عنصر أمان المستخدمين المحليين](/ar/form-management/security/security-items/aman-almstkhdmyn-almhlyyn.md).&#x20;
* **`مجموعة السياق`**&#x62A;تيح لك تحديد ما إذا كان الشرط سيتطابق استنادًا إلى مجموعات المستخدم المسجّل حاليًا في [عنصر أمان المستخدمين المحليين](/ar/form-management/security/security-items/aman-almstkhdmyn-almhlyyn.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/ar/form-management/form-designer/condition-rules/conditions-rules.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
