Search found 174 matches
- 28 Aug 2022, 18:27
- Forum: Discussion
- Topic: Click "update" button in main entity upon change in sub-entity
- Replies: 3
- Views: 268
Re: Click "update" button in main entity upon change in sub-entity
Try using PHP code for this purpose. Example: $invoice_id = [parent_item_id]; $invoice_entity_table = "app_entity_XX"; $invoice_sum_field = "field_XX11"; $invoice_item_entity_table = "app_entity_YY"; $invoice_item_sum_field = "field_YY11"; db_query("UPDAT...
- 28 Aug 2022, 08:18
- Forum: Discussion
- Topic: Display resulting image in qr field
- Replies: 5
- Views: 496
Re: Display resulting image in qr field
You have to modify file fieldtype_qrcode to get this. Find the function output and return the base64 image of the cell value.
- 28 Aug 2022, 06:58
- Forum: Discussion
- Topic: Export Form to PDF/DOC
- Replies: 6
- Views: 455
Re: Export Form to PDF/DOC
I think it's possible. The form modal generates HTML tags, you can capture and send them to pdf library (such as dompdf) for export as PDF. Since you need it exactly as it's displayed, you also need to take CSS that affects form style and layout.
- 28 Aug 2022, 06:17
- Forum: Discussion
- Topic: script code in WYSIWYG dissapear after the record is created
- Replies: 2
- Views: 224
Re: script code in WYSIWYG dissapear after the record is created
I don't think you can allow users to write script in record form. It's a matter of security. If you want to use iframe, then use tag iframe. Or if that embedded field is not specific to certain record, you can try using Help System in related entity. Add announcement, paste your script there, see if...
- 08 Mar 2022, 08:25
- Forum: Discussion
- Topic: Ajax type field - alignment in table
- Replies: 18
- Views: 1118
Re: Ajax type field - alignment in table
You can use custom css
Code: Select all
.fieldtype_ajax_request{
text-align:right;
}
- 21 Feb 2022, 04:42
- Forum: Discussion
- Topic: Defaulting to lower record information
- Replies: 2
- Views: 197
Re: Defaulting to lower record information
In Application Forms configuration, go to General Configuration > Redirects > Redirect after click on item heading and choose "Go to record info page", if that's what you prefer.
- 19 Feb 2022, 23:06
- Forum: Discussion
- Topic: Entity drop-down list (Ajax)
- Replies: 2
- Views: 446
Re: Entity drop-down list (Ajax)
To copy the image field type, I ended up using PHP Code by taking the text saved in entity's table into current entity.
The image did actually shows up as expected.
The image did actually shows up as expected.
- 19 Feb 2022, 22:39
- Forum: Discussion
- Topic: Show the dropdown in another related item
- Replies: 2
- Views: 354
Re: Show the dropdown in another related item
You can use PHP Code to push one data/information from one entity to another, especially when they are structurally unrelated.
Just get the text of selected option, insert into the specific field of the target entity.
Just get the text of selected option, insert into the specific field of the target entity.
- 19 Feb 2022, 04:37
- Forum: Discussion
- Topic: Message Pop Up Before Save
- Replies: 11
- Views: 1307
Re: Message Pop Up Before Save
It still makes sense for some purposes. Validation is only applicable for some inputs that's logically patterned or programatically predictable. What about personal choice/preference, change in mind, etc? Especially when it involves financial matter or other critical processes. Somehow that is not m...
- 18 Feb 2022, 20:21
- Forum: Discussion
- Topic: Message Pop Up Before Save
- Replies: 11
- Views: 1307
Re: Message Pop Up Before Save
In my case, the simplest way is by adding event listener into Save button for confirmation.
Example:
Example:
Code: Select all
$('.btn-primary-modal-action').click(function(){
if(!confirm('Are you sure?')){
return false;
}
})